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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user