diff options
| author | Antonio Gallo <tonicucoz@gmail.com> | 2011-07-30 07:10:20 +0000 | 
|---|---|---|
| committer | Antonio Gallo <tonicucoz@gmail.com> | 2011-07-30 07:10:20 +0000 | 
| commit | 15b8f0b3a4a573af35ddbd478cbd7d4f1f8cea4c (patch) | |
| tree | 79d6b076cdc01494b35ee3084a83729c82ab05e6 /h-source/Application/Controllers/UsersController.php | |
| parent | 0c83490f6220ec2fbf770ce6f840325f6df53b10 (diff) | |
fixed little error: no submission is possible when updating the website - corrected also for anonymous users
Diffstat (limited to 'h-source/Application/Controllers/UsersController.php')
| -rw-r--r-- | h-source/Application/Controllers/UsersController.php | 9 | 
1 files changed, 1 insertions, 8 deletions
| diff --git a/h-source/Application/Controllers/UsersController.php b/h-source/Application/Controllers/UsersController.php index b8fe57e..0e00523 100644 --- a/h-source/Application/Controllers/UsersController.php +++ b/h-source/Application/Controllers/UsersController.php @@ -23,8 +23,6 @@ if (!defined('EG')) die('Direct access not allowed!');  class UsersController extends BaseController  { -	private $_updating; -	  	public function __construct($model, $controller, $queryString)  	{  		parent::__construct($model, $controller, $queryString); @@ -32,12 +30,7 @@ class UsersController extends BaseController  		$this->model('UsersModel');  		$this->model('ProfileModel');  		$this->model('HardwareModel'); -		$this->model('ParamsModel'); -		 -		$updating = $this->m['ParamsModel']->select('updating')->where(array('id_par'=>1))->toList('updating')->send(); -		$data['updating_flag'] = $updating[0]; -		$this->_updating = $data['updating_flag']; -		 +  		$data['title'] = 'Login';  		$this->append($data);  	} | 
