Eileen has submitted this change and it was merged.

Change subject: Fix call to Setting.getvalue
......................................................................


Fix call to Setting.getvalue

The group parameter is not-required in 4.7 but is & 4.6 and I set it wrong. In 
4.7 the field is removed from the setting table

Change-Id: I175b004fde4eb2f7506d226ada787ba7e39fb24d
---
M CRM/Logging/Schema.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Eileen: Verified; Looks good to me, approved



diff --git a/CRM/Logging/Schema.php b/CRM/Logging/Schema.php
index d9e1bae..739e15f 100644
--- a/CRM/Logging/Schema.php
+++ b/CRM/Logging/Schema.php
@@ -842,7 +842,7 @@
         $sqlStmt .= "NEW.$column, ";
         $deleteSQL .= "OLD.$column, ";
       }
-      if (civicrm_api3('Setting', 'getvalue', array('name' => 
'logging_uniqueid_date', 'group' => 'core'))) {
+      if (civicrm_api3('Setting', 'getvalue', array('name' => 
'logging_uniqueid_date', 'group' => 'CiviCRM Preferences'))) {
         $sqlStmt .= "@uniqueID, @civicrm_user_id, '{eventName}');";
         $deleteSQL .= "@uniqueID, @civicrm_user_id, '{eventName}');";
       }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I175b004fde4eb2f7506d226ada787ba7e39fb24d
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/fundraising/civicrm-core
Gerrit-Branch: civi-4.6.9
Gerrit-Owner: Eileen <emcnaugh...@wikimedia.org>
Gerrit-Reviewer: Eileen <emcnaugh...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to