diff options
| author | 2015-09-12 18:15:46 +0200 | |
|---|---|---|
| committer | 2015-09-12 18:15:46 +0200 | |
| commit | 133e369afff02e5984fe4ce5109e33fd2fbccfc7 (patch) | |
| tree | 445feb4bf7631f7f10d1d715dab297afca3cc65c /app/Controllers/userController.php | |
| parent | f148e3938cc8daaaef1c71853594fbe142a1329e (diff) | |
| parent | 0204e8ff08ba9ae103c46d08484cf30aedfb9148 (diff) | |
Version 1.1.3-beta1.1.3-beta
Diffstat (limited to 'app/Controllers/userController.php')
| -rw-r--r-- | app/Controllers/userController.php | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/app/Controllers/userController.php b/app/Controllers/userController.php index 428cd145d..1c7d621f1 100644 --- a/app/Controllers/userController.php +++ b/app/Controllers/userController.php @@ -272,28 +272,4 @@ class FreshRSS_user_Controller extends Minz_ActionController { Minz_Request::forward($redirect_url, true); } - - /** - * This action updates the max number of registrations. - * - * Request parameter is: - * - max-registrations (int >= 0) - */ - public function setRegistrationAction() { - if (Minz_Request::isPost() && FreshRSS_Auth::hasAccess('admin')) { - $limits = FreshRSS_Context::$system_conf->limits; - $limits['max_registrations'] = Minz_Request::param('max-registrations', 1); - FreshRSS_Context::$system_conf->limits = $limits; - FreshRSS_Context::$system_conf->save(); - - invalidateHttpCache(); - - Minz_Session::_param('notification', array( - 'type' => 'good', - 'content' => _t('feedback.user.set_registration') - )); - } - - Minz_Request::forward(array('c' => 'user', 'a' => 'manage'), true); - } } |
