]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-rallye.php
Several more constants rewritten to getConfig()
[mailer.git] / inc / extensions / ext-rallye.php
index 694a984d3c1b437920d32057d445ba14f1ec21e1..38c9b218ffcd826493d85ae7ba54cbebf0310013 100644 (file)
@@ -143,7 +143,7 @@ PRIMARY KEY(id)
                                ADD_EXT_SQL("ALTER TABLE `{!_MYSQL_PREFIX!}_rallye_users` ADD curr_points FLOAT(20,5) UNSIGNED NOT NULL DEFAULT 0.00000");
 
                                // Update notes (these will be set as task text!)
-                               EXT_SET_UPDATE_NOTES("Aktueller {!POINTS!}-Stand wird beachtet.");
+                               EXT_SET_UPDATE_NOTES("Aktueller {?POINTS?}-Stand wird beachtet.");
                                break;
 
                        case '0.0.6': // SQL queries for v0.0.6
@@ -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);