From: <gem...@li...> - 2011-12-16 12:37:17
|
Revision: 365 http://gemstracker.svn.sourceforge.net/gemstracker/?rev=365&view=rev Author: mennodekker Date: 2011-12-16 12:37:11 +0000 (Fri, 16 Dec 2011) Log Message: ----------- minor fixes Modified Paths: -------------- trunk/library/classes/Gems/AccessLog.php trunk/library/classes/Gems/Default/IndexAction.php Modified: trunk/library/classes/Gems/AccessLog.php =================================================================== --- trunk/library/classes/Gems/AccessLog.php 2011-12-16 11:07:19 UTC (rev 364) +++ trunk/library/classes/Gems/AccessLog.php 2011-12-16 12:37:11 UTC (rev 365) @@ -194,7 +194,7 @@ $values['glua_by'] = $this->_userInfo->user_id ? $this->_userInfo->user_id : 0; $values['glua_organization'] = $this->_userInfo->user_organization_id ? $this->_userInfo->user_organization_id : 0; $values['glua_action'] = $this->getActionId($action); - $values['glua_role'] = $this->_userInfo->user_role; + $values['glua_role'] = $this->_userInfo->user_role ? $this->_userInfo->user_role : '--not set--' ; $values['glua_created'] = new Zend_Db_Expr('CURRENT_TIMESTAMP'); if ($request instanceof Zend_Controller_Request_Http) { Modified: trunk/library/classes/Gems/Default/IndexAction.php =================================================================== --- trunk/library/classes/Gems/Default/IndexAction.php 2011-12-16 11:07:19 UTC (rev 364) +++ trunk/library/classes/Gems/Default/IndexAction.php 2011-12-16 12:37:11 UTC (rev 365) @@ -406,7 +406,7 @@ $this->addMessage(sprintf($this->_('Good bye: %s.'), $user->getFullName())); $user->unsetAsCurrentUser(); - Zend_Session::regenerateId(); + Zend_Session::destroy(); $this->_reroute(array('action' => 'index'), true); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |