X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fcache.php;h=1f805836334ae46a8c25d6bb4bc0e0a41bc2bfc3;hb=dbb5df7f7d65e4f94add3f0684d9bff40e5f8167;hp=d3b24c19e771e8085ec19e80cf19399fae769a48;hpb=06815f1a38409e45b0c5e5184c081f964ec89e47;p=friendica.git diff --git a/include/cache.php b/include/cache.php index d3b24c19e7..1f80583633 100644 --- a/include/cache.php +++ b/include/cache.php @@ -42,7 +42,7 @@ class Cache { * * @return integer The cache duration in seconds */ - private function duration($level) { + private static function duration($level) { switch($level) { case CACHE_MONTH; $seconds = 2592000;