BUG 6680 Change behavior of "On Vacation" status, so that when users return and login, status automatically changes to "active" SOLVED

- The user status never changes when a user on vacation return and login
- Now when a user on vacation return and login its status change to active
This commit is contained in:
Julio Cesar Laura
2012-09-13 14:54:38 -04:00
parent 4586d5153a
commit bc00312e8e
3 changed files with 6 additions and 5 deletions

View File

@@ -228,13 +228,11 @@ public function userExists($UsrUid)
}
function loadByUsernameInArray($sUsername){
echo $sUsername;
$c = $this->loadByUsername($sUsername);
$rs = UsersPeer::doSelectRS($c);
$rs->setFetchmode(ResultSet::FETCHMODE_ASSOC);
$rs->next();
$row = $rs->getRow();
print_r($row);
return $row;
}