forked from GNUsocial/gnu-social
fix flushrouter.php -- tried to call Cache::delete statically
This commit is contained in:
parent
7785407c65
commit
09a4cebd47
@ -28,6 +28,7 @@ END_OF_FLUSHROUTER_HELP;
|
|||||||
|
|
||||||
require_once INSTALLDIR.'/scripts/commandline.inc';
|
require_once INSTALLDIR.'/scripts/commandline.inc';
|
||||||
|
|
||||||
Cache::delete(Router::cacheKey());
|
$cache = Cache::instance();
|
||||||
|
$cache->delete(Router::cacheKey());
|
||||||
|
|
||||||
print "OK.\n";
|
print "OK.\n";
|
Loading…
Reference in New Issue
Block a user