* fix a bug : display user link.

This commit is contained in:
zhujinyong
2013-01-07 06:55:03 +00:00
parent 5176f5d77f
commit 8c7ae82f2e
2 changed files with 2 additions and 8 deletions
+1 -7
View File
@@ -510,13 +510,7 @@ class actionModel extends model
$action->objectLabel = isset($this->lang->action->label->$objectType) ? $this->lang->action->label->$objectType : $objectType;
/* If action type is login or logout, needn't link. */
if($actionType == 'login' or $actionType == 'logout')
{
$action->objectLink = '';
$action->objectLabel = '';
continue;
}
elseif($actionType == 'svncommited')
if($actionType == 'svncommited')
{
$action->actor = isset($commiters[$action->actor]) ? $commiters[$action->actor] : $action->actor;
}