Deleting changes is Oauth model.

This commit is contained in:
jennylee
2014-04-29 12:28:16 -04:00
parent 821ea63d02
commit 2daaee325a
2 changed files with 2 additions and 8 deletions

View File

@@ -206,13 +206,7 @@ class OauthClients extends BaseOauthClients
return array("numRecTotal" => $numRecTotal, "data" => $arrayData); return array("numRecTotal" => $numRecTotal, "data" => $arrayData);
} }
public function exists ($OclUid)
{
$oOcl = OauthClientsPeer::retrieveByPk( $OclUid );
return (is_object( $oOcl ) && get_class( $oOcl ) == 'OauthClients');
}
} }
// OauthClients // OauthClients

View File

@@ -167,7 +167,7 @@ try {
G::LoadClass('serverConfiguration'); G::LoadClass('serverConfiguration');
$oServerConf =& serverConf::getSingleton(); $oServerConf =& serverConf::getSingleton();
$oServerConf->sucessfulLogin(); $oServerConf->sucessfulLogin();
// Assign the uid of user to userloggedobj // Assign the uid of user to userloggedobj
$RBAC->loadUserRolePermission($RBAC->sSystem, $uid); $RBAC->loadUserRolePermission($RBAC->sSystem, $uid);
$res = $RBAC->userCanAccess('PM_LOGIN'); $res = $RBAC->userCanAccess('PM_LOGIN');