Eileen has uploaded a new change for review. https://gerrit.wikimedia.org/r/286378
Change subject: Adjust hook in our CiviCRM to reflect name change in upstream QA ...................................................................... Adjust hook in our CiviCRM to reflect name change in upstream QA This hook was adjusted when doing QA to get it into core to be a better fit. I would prefer not to deploy this change until we turn on logging since it requires a co-ordinated change in the drupal directory and we won't have a change to test both in tandem first, but we do need to tidy this up https://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_alterLogTables Bug: T133257 Change-Id: I5833ff968a009845bfe7904a39ff1e2a5a7224f9 --- M CRM/Logging/Schema.php M CRM/Utils/Hook.php 2 files changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/wikimedia/fundraising/crm/civicrm refs/changes/78/286378/1 diff --git a/CRM/Logging/Schema.php b/CRM/Logging/Schema.php index 67c46ef..15d029f 100644 --- a/CRM/Logging/Schema.php +++ b/CRM/Logging/Schema.php @@ -150,7 +150,7 @@ foreach ($this->exceptions as $tableName => $fields) { $this->logTableSpec[$tableName]['exceptions'] = $fields; } - CRM_Utils_Hook::logTableSpec($this->logTableSpec); + CRM_Utils_Hook::alterLogTables($this->logTableSpec); $this->tables = array_keys($this->logTableSpec); $nonStandardTableNameString = $this->getNonStandardTableNameFilterString(); diff --git a/CRM/Utils/Hook.php b/CRM/Utils/Hook.php index 9cd1a93..561ae6f 100644 --- a/CRM/Utils/Hook.php +++ b/CRM/Utils/Hook.php @@ -1433,11 +1433,11 @@ * * @return mixed */ - public static function logTableSpec(&$logTableSpec) { + public static function alterLogTables(&$logTableSpec) { return self::singleton()->invoke(1, $logTableSpec, $_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject, - 'civicrm_logTableSpec' + 'civicrm_alterLogTables' ); } -- To view, visit https://gerrit.wikimedia.org/r/286378 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I5833ff968a009845bfe7904a39ff1e2a5a7224f9 Gerrit-PatchSet: 1 Gerrit-Project: wikimedia/fundraising/crm/civicrm Gerrit-Branch: master Gerrit-Owner: Eileen <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
