From 43ed7afdc6f77381e4cdac32a859d65d7851c2ec Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Wed, 24 Aug 2016 07:31:03 +1000 Subject: [PATCH] Fix settings call --- CRM/Core/BAO/Cache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/BAO/Cache.php b/CRM/Core/BAO/Cache.php index 6cc5f75002..06ffb6b806 100644 --- a/CRM/Core/BAO/Cache.php +++ b/CRM/Core/BAO/Cache.php @@ -305,7 +305,7 @@ class CRM_Core_BAO_Cache extends CRM_Core_DAO_Cache { */ public static function cleanup($session = FALSE, $table = FALSE, $prevNext = FALSE) { // first delete all sessions more than 20 minutes old which are related to any potential transaction - $timeIntervalMins = CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME('secure_cache_timeout_minutes')); + $timeIntervalMins = CRM_Core_BAO_Setting::getItem(CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME, 'secure_cache_timeout_minutes'); if ($timeIntervalMins && $session) { $transactionPages = array( 'CRM_Contribute_Controller_Contribution', -- 2.25.1