This commit is contained in:
Marco Antonio Nina Mena
2017-12-04 13:25:35 +00:00
committed by Julio Cesar Laura Avendaño
parent abe71a6ffe
commit 0d533e19d9
363 changed files with 23948 additions and 44623 deletions

View File

@@ -42,7 +42,7 @@ class ldapadvancedClassCron
*/
public function executeCron($debug)
{
$rbac = &RBAC::getSingleton();
$rbac = RBAC::getSingleton();
if (is_null($rbac->authSourcesObj)) {
$rbac->authSourcesObj = new AuthenticationSource();
@@ -203,7 +203,7 @@ class ldapadvancedClassCron
unset($arrayAuthenticationSourceData["AUTH_SOURCE_DATA"]["DEPARTMENTS_TO_UNASSIGN"]);
$rbac = &RBAC::getSingleton();
$rbac = RBAC::getSingleton();
$rbac->authSourcesObj->update($arrayAuthenticationSourceData);
}
@@ -240,7 +240,7 @@ class ldapadvancedClassCron
unset($arrayAuthenticationSourceData["AUTH_SOURCE_DATA"]["GROUPS_TO_UNASSIGN"]);
$rbac = &RBAC::getSingleton();
$rbac = RBAC::getSingleton();
$rbac->authSourcesObj->update($arrayAuthenticationSourceData);
}
@@ -599,4 +599,3 @@ class ldapadvancedClassCron
}
}
}