From 2daaee325ab41d68936038df9400f148328f1cbd Mon Sep 17 00:00:00 2001 From: jennylee Date: Tue, 29 Apr 2014 12:28:16 -0400 Subject: [PATCH] Deleting changes is Oauth model. --- workflow/engine/classes/model/OauthClients.php | 8 +------- workflow/engine/methods/login/authentication.php | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/workflow/engine/classes/model/OauthClients.php b/workflow/engine/classes/model/OauthClients.php index e1f6f7272..ebd8faaac 100644 --- a/workflow/engine/classes/model/OauthClients.php +++ b/workflow/engine/classes/model/OauthClients.php @@ -206,13 +206,7 @@ class OauthClients extends BaseOauthClients return array("numRecTotal" => $numRecTotal, "data" => $arrayData); } - - - public function exists ($OclUid) - { - $oOcl = OauthClientsPeer::retrieveByPk( $OclUid ); - return (is_object( $oOcl ) && get_class( $oOcl ) == 'OauthClients'); - } + } // OauthClients diff --git a/workflow/engine/methods/login/authentication.php b/workflow/engine/methods/login/authentication.php index c068a3f07..96e7ab427 100755 --- a/workflow/engine/methods/login/authentication.php +++ b/workflow/engine/methods/login/authentication.php @@ -167,7 +167,7 @@ try { G::LoadClass('serverConfiguration'); $oServerConf =& serverConf::getSingleton(); $oServerConf->sucessfulLogin(); - + // Assign the uid of user to userloggedobj $RBAC->loadUserRolePermission($RBAC->sSystem, $uid); $res = $RBAC->userCanAccess('PM_LOGIN');