From 8c287999487883a54271ae5e91bbb79b4fd15826 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Tue, 15 Feb 2011 01:11:53 +0000 Subject: added wiki - part 2 --- h-source/Application/Controllers/UsersController.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'h-source/Application/Controllers/UsersController.php') 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') { -- cgit v1.2.3