Make auto-update server URL alterable

See https://github.com/FreshRSS/FreshRSS/issues/1019
This commit is contained in:
Marien Fressinaud committed 2015-11-02 21:14:13 +01:00
1 parent bb0556543d
commit 697817eebf
11 files changed
+36 -1

No files matched your search

+8
View File
@@ -378,4 +378,12 @@ class FreshRSS_ConfigurationSetter {
private function _unsafe_autologin_enabled(&$data, $value) {
$data['unsafe_autologin_enabled'] = $this->handleBool($value);
}
private function _auto_update_url(&$data, $value) {
if (!$value) {
return;
}
$data['auto_update_url'] = $value;
}
}