Commit 09a4cebd authored by Brion Vibber's avatar Brion Vibber

fix flushrouter.php -- tried to call Cache::delete statically

parent 7785407c
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment