aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers/UsersController.php
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2011-02-15 01:11:53 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2011-02-15 01:11:53 +0000
commit8c287999487883a54271ae5e91bbb79b4fd15826 (patch)
tree27b2a78bf6cb9ffde0bd649ca97df36dc06f917b /h-source/Application/Controllers/UsersController.php
parent1854075a62c6ca0422040b4e5ebf89088b0d02b2 (diff)
added wiki - part 2
Diffstat (limited to 'h-source/Application/Controllers/UsersController.php')
-rw-r--r--h-source/Application/Controllers/UsersController.php10
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')
{