Deleting changes is Oauth model.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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');
|
||||||
|
|||||||
Reference in New Issue
Block a user