diff options
author | Christian Schneider | 2015-07-21 18:02:31 +0200 |
---|---|---|
committer | Urban Müller | 2015-11-09 14:29:17 +0100 |
commit | 3deecf612f4edb20097ff29f8ee97d37bf5b4b8d (patch) | |
tree | 8d4c407b2dda8dc651d15172bfc5ac3d9c142f57 /it_cache.class | |
parent | f8e5dce632789e7882f2e8a9278795ea8d6ae5ff (diff) | |
download | itools-3deecf612f4edb20097ff29f8ee97d37bf5b4b8d.tar.gz itools-3deecf612f4edb20097ff29f8ee97d37bf5b4b8d.tar.bz2 itools-3deecf612f4edb20097ff29f8ee97d37bf5b4b8d.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 30db0ea..27be919 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; |