diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2011-02-15 01:11:53 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2011-02-15 01:11:53 +0000 |
commit | 8c287999487883a54271ae5e91bbb79b4fd15826 (patch) | |
tree | 27b2a78bf6cb9ffde0bd649ca97df36dc06f917b /h-source/Application/Controllers/UsersController.php | |
parent | 1854075a62c6ca0422040b4e5ebf89088b0d02b2 (diff) |
added wiki - part 2
Diffstat (limited to 'h-source/Application/Controllers/UsersController.php')
-rw-r--r-- | h-source/Application/Controllers/UsersController.php | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/h-source/Application/Controllers/UsersController.php b/h-source/Application/Controllers/UsersController.php index 7f42a2a..4fa078b 100644 --- a/h-source/Application/Controllers/UsersController.php +++ b/h-source/Application/Controllers/UsersController.php @@ -107,15 +107,7 @@ class UsersController extends BaseController } else if ($res === 'was-logged') { - $redirect = $this->request->get('redirect','','sanitizeAll'); - if (strcmp($redirect,'') !== 0) - { - $this->redirect($redirect,0); - } - else - { - $this->redirect('home/index/'.Lang::$current,0); - } + $this->redirect('home/index/'.Lang::$current,0); } else if ($res === 'error') { |