summaryrefslogtreecommitdiff
path: root/scripts/showcache.php
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/showcache.php')
-rw-r--r--scripts/showcache.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/showcache.php b/scripts/showcache.php
index 93b57a484..8ef08467d 100644
--- 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");