Commit 453569e7 authored by webchick's avatar webchick
Browse files

#539442 by deekayen: Re-order functions in trigger.install so schema comes first.

parent b5674375
...@@ -6,14 +6,6 @@ ...@@ -6,14 +6,6 @@
* Install, update and uninstall functions for the trigger module. * Install, update and uninstall functions for the trigger module.
*/ */
/**
* Implement hook_install().
*/
function trigger_install() {
// Do initial synchronization of actions in code and the database.
actions_synchronize();
}
/** /**
* Implement hook_schema(). * Implement hook_schema().
*/ */
...@@ -50,6 +42,14 @@ function trigger_schema() { ...@@ -50,6 +42,14 @@ function trigger_schema() {
return $schema; return $schema;
} }
/**
* Implement hook_install().
*/
function trigger_install() {
// Do initial synchronization of actions in code and the database.
actions_synchronize();
}
/** /**
* Adds operation names to the hook names and drops the "op" field. * Adds operation names to the hook names and drops the "op" field.
*/ */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment