We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit ed24c95a authored by Brion Vibber's avatar Brion Vibber

Fix ticket #2929: router cache now clears itself when switching singleuser mode in and out

parent ba2b670b
......@@ -160,7 +160,16 @@ class Router
static function cacheKey()
return Cache::codeKey('router');
$parts = array('router');
// Many router paths depend on this setting.
if (common_config('singleuser', 'enabled')) {
$parts[] = '1user';
} else {
$parts[] = 'multi';
return Cache::codeKey(implode(':', $parts));
function initialize()
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