diff options
| author | 2015-11-02 21:11:31 +0100 | |
|---|---|---|
| committer | 2015-11-02 21:14:13 +0100 | |
| commit | 697817eebf754c2a05c7b4c88df1f13dbd0179da (patch) | |
| tree | 84ba0bf1bbaaae9f822efe801e4606191864ec74 /app/Models/ConfigurationSetter.php | |
| parent | bb0556543d3d5d54832ea6d81372587b88062a5b (diff) | |
Make auto-update server URL alterable
See https://github.com/FreshRSS/FreshRSS/issues/1019
Diffstat (limited to 'app/Models/ConfigurationSetter.php')
| -rw-r--r-- | app/Models/ConfigurationSetter.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/Models/ConfigurationSetter.php b/app/Models/ConfigurationSetter.php index 5c8a1ce29..250c14c39 100644 --- a/app/Models/ConfigurationSetter.php +++ b/app/Models/ConfigurationSetter.php @@ -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; + } } |
