Merge pull request #2554 from totten/4.4-settings-hook-dedupe
[civicrm-core.git] / CRM / Core / BAO / PrevNextCache.php
index 9983d93caed483bbac4e29ac876b1768820084ec..8ab238b016a9a7c23359c0fe35e39da95e725f0e 100644 (file)
@@ -138,7 +138,7 @@ WHERE  cacheKey     = %3 AND
     CRM_Core_DAO::executeQuery($sql, $params);
   }
 
-  function retrieve($cacheKey, $join = NULL, $where = NULL, $offset = 0, $rowCount = 0) {
+  static function retrieve($cacheKey, $join = NULL, $where = NULL, $offset = 0, $rowCount = 0) {
     $query = "
 SELECT data
 FROM   civicrm_prevnext_cache pn