Fix a call to $system_conf

See https://github.com/FreshRSS/FreshRSS/issues/730
This commit is contained in:
Marien Fressinaud
2015-01-06 22:15:51 +01:00
parent ff1e989de1
commit ce9298439b

View File

@@ -52,7 +52,7 @@ class FreshRSS_auth_Controller extends Minz_ActionController {
FreshRSS_Context::$system_conf->unsafe_autologin_enabled = $unsafe_autologin;
FreshRSS_Context::$system_conf->api_enabled = $api_enabled;
$ok &= $system_conf->save();
$ok &= FreshRSS_Context::$system_conf->save();
}
invalidateHttpCache();