diff options
author | Christian Schneider | 2015-07-21 18:02:31 +0200 |
---|---|---|
committer | Christian Schneider | 2015-07-21 18:02:31 +0200 |
commit | 0bb7f6148acb2a4a4d2caaa83c9ffa5b27aa8e1c (patch) | |
tree | 7860d50ab8891ae919336cadf345865900551f47 /it_cache.class | |
parent | 943e45b1e5815bfc9db6d09b3b0bf851695bf38b (diff) | |
download | itools-0bb7f6148acb2a4a4d2caaa83c9ffa5b27aa8e1c.tar.gz itools-0bb7f6148acb2a4a4d2caaa83c9ffa5b27aa8e1c.tar.bz2 itools-0bb7f6148acb2a4a4d2caaa83c9ffa5b27aa8e1c.zip |
Use old syntax for itools
Diffstat (limited to 'it_cache.class')
-rw-r--r-- | it_cache.class | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/it_cache.class b/it_cache.class index 7370000..524a15f 100644 --- a/it_cache.class +++ b/it_cache.class @@ -102,7 +102,7 @@ static function _get_memcache($p) static function _memcache_local_fetch($key, &$success) { - if ($memcache = it_cache::_get_memcache(it_cache::_defaults([]))) + if ($memcache = it_cache::_get_memcache(it_cache::_defaults(array()))) $result = $success = @$memcache->get(self::_memcache_local_key($key)); return $result; @@ -110,7 +110,7 @@ static function _memcache_local_fetch($key, &$success) static function _memcache_local_store($key, $value, $ttl) { - if ($memcache = it_cache::_get_memcache(it_cache::_defaults([]))) + if ($memcache = it_cache::_get_memcache(it_cache::_defaults(array()))) $success = @$memcache->set(self::_memcache_local_key($key), $value, $ttl); return $success; |