From 65fc779e5492feabb9e0f3e54ac5b481b9849110 Mon Sep 17 00:00:00 2001 From: Li Heng Date: Wed, 4 Dec 2013 07:49:14 +0000 Subject: [PATCH] =?UTF-8?q?=E7=94=A8=E6=88=B7=E7=99=BB=E5=BD=95=E5=8F=8A?= =?UTF-8?q?=E5=88=86=E7=AB=99=E9=87=8D=E5=86=99cookie?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/module/Users/Users.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; + }