Adamw has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/95966


Change subject: Make a schema dependency explicit
......................................................................

Make a schema dependency explicit

Change-Id: I7afd0efadc2978d1bf102afaea3557ef5c3851e8
---
M sites/all/modules/public_reporting/public_reporting.install
1 file changed, 10 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm 
refs/changes/66/95966/1

diff --git a/sites/all/modules/public_reporting/public_reporting.install 
b/sites/all/modules/public_reporting/public_reporting.install
index 300fb22..01044be 100644
--- a/sites/all/modules/public_reporting/public_reporting.install
+++ b/sites/all/modules/public_reporting/public_reporting.install
@@ -2,6 +2,16 @@
 
 // TODO: schema is out of sync with requirements.
 
+/**
+ * @implements hook_update_dependencies
+ */
+function public_reporting_update_dependencies() {
+    $dependencies['public_reporting'][6000] = array(
+        'wmf_civicrm' => 6001,
+    );
+    return $dependencies;
+}
+
 function public_reporting_schema() {
        $schema['public_reporting'] = array(
                'description' => t('Public reporting tables'),

-- 
To view, visit https://gerrit.wikimedia.org/r/95966
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7afd0efadc2978d1bf102afaea3557ef5c3851e8
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/crm
Gerrit-Branch: master
Gerrit-Owner: Adamw <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to