From: Brion Vibber Date: Wed, 16 Mar 2011 22:01:58 +0000 (-0700) Subject: fix flushrouter.php -- tried to call Cache::delete statically X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=09a4cebd477d0531bba2d1fb9234d01ddba29bfa;p=quix0rs-gnu-social.git fix flushrouter.php -- tried to call Cache::delete statically --- diff --git a/scripts/flushrouter.php b/scripts/flushrouter.php index 79493eae49..51178a725c 100644 --- a/scripts/flushrouter.php +++ b/scripts/flushrouter.php @@ -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