X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCampaign%2FSelector%2FSearch.php;h=13420533145995e337757e7d38e633e906c4c372;hb=9585cabb995de30da705ab3349d15f048f128ab4;hp=1dc5c177b37ff3a7602cfb60670203de69e204ea;hpb=594eddc519b33992b5f046fa91627c87966e2527;p=civicrm-core.git diff --git a/CRM/Campaign/Selector/Search.php b/CRM/Campaign/Selector/Search.php index 1dc5c177b3..1342053314 100644 --- a/CRM/Campaign/Selector/Search.php +++ b/CRM/Campaign/Selector/Search.php @@ -76,14 +76,14 @@ class CRM_Campaign_Selector_Search extends CRM_Core_Selector_Base implements CRM /** * Are we restricting ourselves to a single contact * - * @var boolean + * @var bool */ protected $_single = FALSE; /** * Are we restricting ourselves to a single contact * - * @var boolean + * @var bool */ protected $_limit = NULL; @@ -296,7 +296,7 @@ FROM {$sql['from']} if (Civi::service('prevnext') instanceof CRM_Core_PrevNextCache_Sql) { // SQL-backed prevnext cache uses an extra record for pruning the cache. - CRM_Core_BAO_Cache::setItem($cacheKey, 'CiviCRM Search PrevNextCache', $cacheKey); + Civi::cache('prevNextCache')->set($cacheKey, $cacheKey); } } }