X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=scripts%2Fshowcache.php;h=8ef08467d6be139dd2a50ee11670962cbeb30cf7;hb=69bb81556f21b5708ac76fef87ba9c0ec859097c;hp=93b57a484b20be47c3c2f5fe1326cf8676604604;hpb=c59eee72a8453cc43f169c62d1afb214c0c539bc;p=quix0rs-gnu-social.git diff --git a/scripts/showcache.php b/scripts/showcache.php old mode 100644 new mode 100755 index 93b57a484b..8ef08467d6 --- a/scripts/showcache.php +++ b/scripts/showcache.php @@ -38,7 +38,7 @@ require_once INSTALLDIR.'/scripts/commandline.inc'; $karg = get_option_value('k'); if (!empty($karg)) { - $k = common_cache_key($karg); + $k = Cache::key($karg); } else { $table = get_option_value('t'); if (empty($table)) { @@ -55,7 +55,7 @@ if (!empty($karg)) { print "Checking key '$k'...\n"; -$c = common_memcache(); +$c = Cache::instance(); if (empty($c)) { die("Can't initialize cache object!\n");