]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix flushrouter.php -- tried to call Cache::delete statically
authorBrion Vibber <brion@pobox.com>
Wed, 16 Mar 2011 22:01:58 +0000 (15:01 -0700)
committerBrion Vibber <brion@pobox.com>
Wed, 16 Mar 2011 22:01:58 +0000 (15:01 -0700)
scripts/flushrouter.php

index 79493eae49b0539e14b73a04f7467797c1e85a1e..51178a725c6d5acfb369cfcbebcb81387c897b75 100644 (file)
@@ -28,6 +28,7 @@ END_OF_FLUSHROUTER_HELP;
 
 require_once INSTALLDIR.'/scripts/commandline.inc';
 
-Cache::delete(Router::cacheKey());
+$cache = Cache::instance();
+$cache->delete(Router::cacheKey());
 
 print "OK.\n";
\ No newline at end of file