Changeset 986

Show
Ignore:
Timestamp:
06/13/08 18:12:23 (3 months ago)
Author:
bastnic
Message:

fixed #621 : bug in jacl2 event in conflict with jacl,r=Vincent Rabeux

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/jelix-modules/jacl2db/classes/jacl2db.listener.php

    r864 r986  
    44* @subpackage  jacl2db 
    55* @author      Jouanneau Laurent 
    6 * @contributor  
    7 * @copyright   2008 Jouanneau laurent 
     6* @contributor Bastien Jaillot 
     7* @copyright   2008 Jouanneau laurent, 2008 Bastien Jaillot 
    88* @licence     http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public Licence, see LICENCE file 
    99* @since 1.1 
     
    2323    */ 
    2424   function onAuthNewUser($event){ 
    25         if($GLOBALS['gJConfig']->acl['enableAclDbEventListener']) { 
     25        if($GLOBALS['gJConfig']->acl2['enableAcl2DbEventListener']) { 
    2626            $user = $event->getParam('user'); 
    2727            jAcl2DbUserGroup::createUser($user->login); 
     
    3535    */ 
    3636   function onAuthRemoveUser($event){ 
    37         if($GLOBALS['gJConfig']->acl['enableAclDbEventListener']) { 
     37        if($GLOBALS['gJConfig']->acl2['enableAcl2DbEventListener']) { 
    3838            $login = $event->getParam('login'); 
    3939            jAcl2DbUserGroup::removeUser($login); 
  • trunk/lib/jelix-modules/jacl2db/classes/jacl2db.listener.php

    r864 r986  
    44* @subpackage  jacl2db 
    55* @author      Jouanneau Laurent 
    6 * @contributor  
    7 * @copyright   2008 Jouanneau laurent 
     6* @contributor Bastien Jaillot 
     7* @copyright   2008 Jouanneau laurent, 2008 Bastien Jaillot 
    88* @licence     http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public Licence, see LICENCE file 
    99* @since 1.1 
     
    2323    */ 
    2424   function onAuthNewUser($event){ 
    25         if($GLOBALS['gJConfig']->acl['enableAclDbEventListener']) { 
     25        if($GLOBALS['gJConfig']->acl2['enableAcl2DbEventListener']) { 
    2626            $user = $event->getParam('user'); 
    2727            jAcl2DbUserGroup::createUser($user->login); 
     
    3535    */ 
    3636   function onAuthRemoveUser($event){ 
    37         if($GLOBALS['gJConfig']->acl['enableAclDbEventListener']) { 
     37        if($GLOBALS['gJConfig']->acl2['enableAcl2DbEventListener']) { 
    3838            $login = $event->getParam('login'); 
    3939            jAcl2DbUserGroup::removeUser($login); 
  • trunk/lib/jelix-modules/jacl2db/classes/jacl2db.listener.php

    r864 r986  
    44* @subpackage  jacl2db 
    55* @author      Jouanneau Laurent 
    6 * @contributor  
    7 * @copyright   2008 Jouanneau laurent 
     6* @contributor Bastien Jaillot 
     7* @copyright   2008 Jouanneau laurent, 2008 Bastien Jaillot 
    88* @licence     http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public Licence, see LICENCE file 
    99* @since 1.1 
     
    2323    */ 
    2424   function onAuthNewUser($event){ 
    25         if($GLOBALS['gJConfig']->acl['enableAclDbEventListener']) { 
     25        if($GLOBALS['gJConfig']->acl2['enableAcl2DbEventListener']) { 
    2626            $user = $event->getParam('user'); 
    2727            jAcl2DbUserGroup::createUser($user->login); 
     
    3535    */ 
    3636   function onAuthRemoveUser($event){ 
    37         if($GLOBALS['gJConfig']->acl['enableAclDbEventListener']) { 
     37        if($GLOBALS['gJConfig']->acl2['enableAcl2DbEventListener']) { 
    3838            $login = $event->getParam('login'); 
    3939            jAcl2DbUserGroup::removeUser($login); 
  • trunk/lib/jelix-modules/jacl2db/classes/jacl2db.listener.php

    r864 r986  
    44* @subpackage  jacl2db 
    55* @author      Jouanneau Laurent 
    6 * @contributor  
    7 * @copyright   2008 Jouanneau laurent 
     6* @contributor Bastien Jaillot 
     7* @copyright   2008 Jouanneau laurent, 2008 Bastien Jaillot 
    88* @licence     http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public Licence, see LICENCE file 
    99* @since 1.1 
     
    2323    */ 
    2424   function onAuthNewUser($event){ 
    25         if($GLOBALS['gJConfig']->acl['enableAclDbEventListener']) { 
     25        if($GLOBALS['gJConfig']->acl2['enableAcl2DbEventListener']) { 
    2626            $user = $event->getParam('user'); 
    2727            jAcl2DbUserGroup::createUser($user->login); 
     
    3535    */ 
    3636   function onAuthRemoveUser($event){ 
    37         if($GLOBALS['gJConfig']->acl['enableAclDbEventListener']) { 
     37        if($GLOBALS['gJConfig']->acl2['enableAcl2DbEventListener']) { 
    3838            $login = $event->getParam('login'); 
    3939            jAcl2DbUserGroup::removeUser($login); 
  • trunk/lib/jelix/core/defaultconfig.ini.php

    r919 r986  
    209209[acl2] 
    210210driver = db 
    211 enableAclDbEventListener = off 
     211enableAcl2DbEventListener = off 
    212212 
    213213 
  • trunk/lib/jelix/core/defaultconfig.ini.php

    r919 r986  
    209209[acl2] 
    210210driver = db 
    211 enableAclDbEventListener = off 
     211enableAcl2DbEventListener = off 
    212212 
    213213 
  • trunk/lib/jelix/core/defaultconfig.ini.php

    r919 r986  
    209209[acl2] 
    210210driver = db 
    211 enableAclDbEventListener = off 
     211enableAcl2DbEventListener = off 
    212212 
    213213 
  • trunk/lib/jelix/core/defaultconfig.ini.php

    r919 r986  
    209209[acl2] 
    210210driver = db 
    211 enableAclDbEventListener = off 
     211enableAcl2DbEventListener = off 
    212212 
    213213 
  • trunk/lib/jelix/CREDITS

    r983 r986  
    3434 - add a jFormBase prepareDaoFromControls which return a DAO filled by form (#497) 
    3535 - jforms tpl plugins : choice of builder (#583) 
     36 - fixed bug in jacl2 events : conflict with jacl (#621) 
    3637 
    3738Laurent Jouanneau (laurentj): 
  • trunk/lib/jelix/CREDITS

    r983 r986  
    3434 - add a jFormBase prepareDaoFromControls which return a DAO filled by form (#497) 
    3535 - jforms tpl plugins : choice of builder (#583) 
     36 - fixed bug in jacl2 events : conflict with jacl (#621) 
    3637 
    3738Laurent Jouanneau (laurentj): 
  • trunk/lib/jelix/CREDITS

    r983 r986  
    3434 - add a jFormBase prepareDaoFromControls which return a DAO filled by form (#497) 
    3535 - jforms tpl plugins : choice of builder (#583) 
     36 - fixed bug in jacl2 events : conflict with jacl (#621) 
    3637 
    3738Laurent Jouanneau (laurentj): 
  • trunk/lib/jelix/CREDITS

    r983 r986  
    3434 - add a jFormBase prepareDaoFromControls which return a DAO filled by form (#497) 
    3535 - jforms tpl plugins : choice of builder (#583) 
     36 - fixed bug in jacl2 events : conflict with jacl (#621) 
    3637 
    3738Laurent Jouanneau (laurentj): 
Download in other formats: Unified Diff Zip Archive