Changeset 1406

Show
Ignore:
Timestamp:
04/22/11 16:35:19 (2 years ago)
Author:
Torben Brodt
Message:

twitter: fix for wbb lite

Location:
twitter
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • twitter/files/lib/system/event/listener/UserLoginTwitterListener.class.php

    r1330 r1406  
    9393                // if the modul deactivated, or the user must no agree the rules, we can leave the event. 
    9494                // if we log out or on the rulesagree page, we also leave the event. 
    95                 if (MODULE_RULE == 0 || $session->getUser()->getPermission('admin.general.canIgnoreRules')) return; 
     95                if (!defined('MODULE_RULE') || MODULE_RULE == 0 || $session->getUser()->getPermission('admin.general.canIgnoreRules')) return; 
    9696                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; 
    9797                 
  • twitter/package.xml

    r1385 r1406  
    44                <packagename><![CDATA[Twitter (WCF)]]></packagename> 
    55                <packagedescription><![CDATA[Twitter is a service for friends, family, and co–workers to communicate and stay connected through the exchange of quick, frequent answers to one simple question: What are you doing?]]></packagedescription> 
    6                 <version>2.2.0</version> 
     6                <version>2.2.1</version> 
    77                <date>DATE</date> 
    88                <isunique>1</isunique> 
     
    4343                <languages languagecode="en">en.xml</languages> 
    4444        </instructions> 
     45        <instructions type="update" fromversion="2.2.0"> 
     46                <files>files.tar</files> 
     47        </instructions> 
    4548        <instructions type="update" fromversion="2.1.0"> 
    4649                <files>files.tar</files>