]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/clearcache.php
CSS to align the notice footer (thanks fnadde42)
[quix0rs-gnu-social.git] / scripts / clearcache.php
index 0fb75daa03fd256c4571a60a230337d657cd1906..c67d6275d89194cbcaf1641443e695a9ce14cd03 100644 (file)
@@ -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");