]> git.mxchange.org Git - friendica.git/blobdiff - include/cache.php
Merge pull request #3823 from fabrixxm/feature/api/friends_order
[friendica.git] / include / cache.php
index d3b24c19e771e8085ec19e80cf19399fae769a48..1f805836334ae46a8c25d6bb4bc0e0a41bc2bfc3 100644 (file)
@@ -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;