]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-rallye.php
Bug with multiple registration of filters fixed (see fix_filters.php for details)
[mailer.git] / inc / extensions / ext-rallye.php
index e4e2963dd80ea04cbd21a49073a847cef8a76985..8d2f9dd419de86067a6a98714273153df13d7cf3 100644 (file)
@@ -50,7 +50,7 @@ EXT_SET_VER_HISTORY(array('0.0', '0.0.1', '0.0.2', '0.0.3', '0.0.4', '0.0.5', '0
 
 switch ($EXT_LOAD_MODE)
 {
-       case 'register': // Do stuff when installation is running (modules.php?module=admin&action=login is called)
+       case 'register': // Do stuff when installation is running (modules.php?module=admin is called)
                // SQL commands to run
                ADD_EXT_SQL("DROP TABLE IF EXISTS `{!_MYSQL_PREFIX!}_rallye_data`");
                ADD_EXT_SQL("DROP TABLE IF EXISTS `{!_MYSQL_PREFIX!}_rallye_prices`");
@@ -329,7 +329,7 @@ Zudem sollten Sie mindestens folgende Templates (in <strong>templates/".getLangu
 
                        default: // Do stuff when extension is loaded
                                // Do stuff only when not in CSS mode
-                               if (($GLOBALS['output_mode'] != '1') && ($GLOBALS['output_mode'] != '-1') && ($GLOBALS['cache_mode'] != 'init')) {
+                               if ((getOutputMode() != '1') && (getOutputMode() != '-1') && ($GLOBALS['cache_mode'] != 'init')) {
                                        // Get total member count
                                        $total = GET_TOTAL_DATA('CONFIRMED', 'user_data', 'userid', 'status', true);