Changeset 1409

Show
Ignore:
Timestamp:
04/22/11 22:44:09 (2 years ago)
Author:
Torben Brodt
Message:

openid, fix wbblite integration

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • openid/files/lib/system/event/listener/UserLoginOpenIDListener.class.php

    r1382 r1409  
    5454                // if the modul deactivated, or the user must no agree the rules, we can leave the event. 
    5555                // if we log out or on the rulesagree page, we also leave the event. 
    56                 if (MODULE_RULE == 0 || $session->getUser()->getPermission('admin.general.canIgnoreRules')) return; 
     56                if (!defined('MODULE_RULE') || MODULE_RULE == 0 || $session->getUser()->getPermission('admin.general.canIgnoreRules')) return; 
    5757                if ((isset($_REQUEST['action']) && strtolower($_REQUEST['action']) == 'userlogout') || (isset($_REQUEST['form']) && in_array(strtolower($_REQUEST['form']), self::$ignoreForms)) || (isset($_REQUEST['page']) && in_array(strtolower($_REQUEST['page']), self::$ignorePages))) return; 
    5858