]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Cache.php
Merge pull request #5862 from nupplaphil/rename_App_Methods
[friendica.git] / src / Core / Cache.php
index 7b9f6edd2c2ffbefba7e0a5d093ebcfb4433d131..0fb328aaee8368f86c3e1ec3fbbc2853e453592e 100644 (file)
@@ -53,7 +53,7 @@ class Cache extends \Friendica\BaseObject
         *
         * @param string $prefix Prefix of the keys (optional)
         *
-        * @return array|null Null if the driver doesn't support this feature
+        * @return array Empty if the driver doesn't support this feature
         */
        public static function getAllKeys($prefix = null)
        {
@@ -61,7 +61,7 @@ class Cache extends \Friendica\BaseObject
 
                $return = self::getDriver()->getAllKeys($prefix);
 
-               self::getApp()->save_timestamp($time, 'cache');
+               self::getApp()->saveTimestamp($time, 'cache');
 
                return $return;
        }
@@ -79,7 +79,7 @@ class Cache extends \Friendica\BaseObject
 
                $return = self::getDriver()->get($key);
 
-               self::getApp()->save_timestamp($time, 'cache');
+               self::getApp()->saveTimestamp($time, 'cache');
 
                return $return;
        }
@@ -101,7 +101,7 @@ class Cache extends \Friendica\BaseObject
 
                $return = self::getDriver()->set($key, $value, $duration);
 
-               self::getApp()->save_timestamp($time, 'cache_write');
+               self::getApp()->saveTimestamp($time, 'cache_write');
 
                return $return;
        }
@@ -119,7 +119,7 @@ class Cache extends \Friendica\BaseObject
 
                $return = self::getDriver()->delete($key);
 
-               self::getApp()->save_timestamp($time, 'cache_write');
+               self::getApp()->saveTimestamp($time, 'cache_write');
 
                return $return;
        }