From 09a4cebd477d0531bba2d1fb9234d01ddba29bfa Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Wed, 16 Mar 2011 15:01:58 -0700 Subject: [PATCH] fix flushrouter.php -- tried to call Cache::delete statically --- scripts/flushrouter.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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