diff --git a/application/module/Users/Users.php b/application/module/Users/Users.php index df3d24a9..32b0b4fc 100644 --- a/application/module/Users/Users.php +++ b/application/module/Users/Users.php @@ -76,10 +76,9 @@ class Users extends \Zend_Controller_Plugin_Abstract $auth = \Zend_Auth::getInstance(); - if($auth->getStorage()->write($user)) + $auth->getStorage()->write($user); return true; - else - return false; + }