X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=scripts%2Fclearcache.php;h=c67d6275d89194cbcaf1641443e695a9ce14cd03;hb=f519858044a627e99244b334b7bef3f7f96fa317;hp=0fb75daa03fd256c4571a60a230337d657cd1906;hpb=c59eee72a8453cc43f169c62d1afb214c0c539bc;p=quix0rs-gnu-social.git diff --git a/scripts/clearcache.php b/scripts/clearcache.php index 0fb75daa03..c67d6275d8 100644 --- a/scripts/clearcache.php +++ b/scripts/clearcache.php @@ -38,7 +38,7 @@ require_once INSTALLDIR.'/scripts/commandline.inc'; $karg = get_option_value('k', 'key'); if (!empty($karg)) { - $k = common_cache_key($karg); + $k = Cache::key($karg); } else { $table = get_option_value('t', 'table'); if (empty($table)) { @@ -55,7 +55,7 @@ if (!empty($karg)) { print "Clearing key '$k'..."; -$c = common_memcache(); +$c = Cache::instance(); if (empty($c)) { die("Can't initialize cache object!\n");