Пример #1
0
 /**
  * Called when a user has been removed : delete rights about this user
  *
  * @param jEvent $event   the event
  */
 function onAuthRemoveUser($event)
 {
     if ($GLOBALS['gJConfig']->acl2['driver'] == 'db') {
         $login = $event->getParam('login');
         jAcl2DbUserGroup::removeUser($login);
     }
 }
 /**
  * Called when a user has been removed : delete rights about this user
  *
  * @param jEvent $event   the event
  */
 function onAuthRemoveUser($event)
 {
     if (jApp::config()->acl2['driver'] == 'db') {
         $login = $event->getParam('login');
         jAcl2DbUserGroup::removeUser($login);
     }
 }