summaryrefslogtreecommitdiff
path: root/it_cache.class
diff options
context:
space:
mode:
authorChristian Schneider2015-07-21 18:02:31 +0200
committerUrban Müller2015-11-09 14:29:17 +0100
commit3deecf612f4edb20097ff29f8ee97d37bf5b4b8d (patch)
tree8d4c407b2dda8dc651d15172bfc5ac3d9c142f57 /it_cache.class
parentf8e5dce632789e7882f2e8a9278795ea8d6ae5ff (diff)
downloaditools-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.class4
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;