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