|
|
@@ -131,14 +131,9 @@ class FreshRSS_subscription_Controller extends Minz_ActionController {
|
|
|
|
|
|
$feed->_attributes('content_action', Minz_Request::param('content_action', 'replace'));
|
|
|
|
|
|
- if (FreshRSS_Auth::hasAccess('admin')) {
|
|
|
- $feed->_attributes('ssl_verify', Minz_Request::paramTernary('ssl_verify'));
|
|
|
- $timeout = intval(Minz_Request::param('timeout', 0));
|
|
|
- $feed->_attributes('timeout', $timeout > 0 ? $timeout : null);
|
|
|
- } else {
|
|
|
- $feed->_attributes('ssl_verify', null);
|
|
|
- $feed->_attributes('timeout', null);
|
|
|
- }
|
|
|
+ $feed->_attributes('ssl_verify', Minz_Request::paramTernary('ssl_verify'));
|
|
|
+ $timeout = intval(Minz_Request::param('timeout', 0));
|
|
|
+ $feed->_attributes('timeout', $timeout > 0 ? $timeout : null);
|
|
|
|
|
|
if (Minz_Request::paramBoolean('use_default_purge_options')) {
|
|
|
$feed->_attributes('archiving', null);
|