Browse Source

Fix redis deprecation of delete

pull/68/head
discomrade 1 year ago
parent
commit
a33644c213
  1. 6
      inc/cache.php

6
inc/cache.php

@ -118,11 +118,15 @@ class Cache {
switch ($config['cache']['enabled']) {
case 'memcached':
case 'redis':
if (!self::$cache)
self::init();
self::$cache->delete($key);
break;
case 'redis':
if (!self::$cache)
self::init();
self::$cache->del($key);
break;
case 'apc':
apc_delete($key);
break;

Loading…
Cancel
Save