diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-10-27 16:16:11 -0700 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-10-27 16:16:11 -0700 |
commit | cc6618901bc927558dc159ac0dbec1159231c5f1 (patch) | |
tree | f1c14931ab88c0056e538e6d62cd1fa667d94a0d /app/Controller | |
parent | 0b9c3b0a5b61a61faf9061e040e072e4b198f6d2 (diff) |
Remove feature "Allow everybody to access to this project"
Diffstat (limited to 'app/Controller')
-rw-r--r-- | app/Controller/ProjectPermissionController.php | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/app/Controller/ProjectPermissionController.php b/app/Controller/ProjectPermissionController.php index 56777b25..d043d3ec 100644 --- a/app/Controller/ProjectPermissionController.php +++ b/app/Controller/ProjectPermissionController.php @@ -60,25 +60,6 @@ class ProjectPermissionController extends BaseController } /** - * Allow everybody - * - * @access public - */ - public function allowEverybody() - { - $project = $this->getProject(); - $values = $this->request->getValues() + array('is_everybody_allowed' => 0); - - if ($this->projectModel->update($values)) { - $this->flash->success(t('Project updated successfully.')); - } else { - $this->flash->failure(t('Unable to update this project.')); - } - - $this->response->redirect($this->helper->url->to('ProjectPermissionController', 'index', array('project_id' => $project['id']))); - } - - /** * Add user to the project * * @access public |