From 453569e72190e3c9a510fc00fa215ca88110d51a Mon Sep 17 00:00:00 2001
From: Angie Byron <webchick@24967.no-reply.drupal.org>
Date: Mon, 2 Nov 2009 02:38:53 +0000
Subject: [PATCH] #539442 by deekayen: Re-order functions in trigger.install so
 schema comes first.

---
 modules/trigger/trigger.install | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/modules/trigger/trigger.install b/modules/trigger/trigger.install
index 95fb4fb2e3fe..d174326158d8 100644
--- a/modules/trigger/trigger.install
+++ b/modules/trigger/trigger.install
@@ -6,14 +6,6 @@
  * 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().
  */
@@ -50,6 +42,14 @@ function trigger_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.
  */
-- 
GitLab