X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fextensions%2Fext-rallye.php;h=f3fc2aed8a17dc31f95f16b1828d2da0636ddefd;hb=2f911d8d716406fa07632ceebfc35faa31f39bfb;hp=88da04d69569fd0babd912f7233b51ee8df26759;hpb=dbb6aa4eaeff7c3bab27f143d881781380d43d41;p=mailer.git
diff --git a/inc/extensions/ext-rallye.php b/inc/extensions/ext-rallye.php
index 88da04d695..f3fc2aed8a 100644
--- a/inc/extensions/ext-rallye.php
+++ b/inc/extensions/ext-rallye.php
@@ -1,7 +1,7 @@
templates/".getLangu
case '0.2.1': // SQL queries for v0.2.1
// Update notes (these will be set as task text!)
- setExtensionUpdateNotes("Wörter Mailtausch, Mailtausches und Mailtauscher sind austauschbar.");
+ setExtensionUpdateNotes("Wörter {?mt_word?}, {?mt_word2?} und {?mt_word3?} sind austauschbar.");
break;
case '0.2.2': // SQL queries for v0.2.2
@@ -329,11 +331,11 @@ Zudem sollten Sie mindestens folgende Templates (in templates/".getLangu
// @TODO Move this code into rallye_functions.php
if (getOutputMode() != 1) {
// Get total member count
- $total = countSumTotalData('CONFIRMED', 'user_data', 'userid', 'status', true);
+ $total = getTotalConfirmedUser();
// Add more data on higher versions
$ADD1 = ''; $ADD2 = ''; $OR = '';
- if (getExtensionVersion('rallye') >= '0.2.0') {
+ if (isExtensionInstalledAndNewer('rallye', '0.2.0')) {
$ADD1 = ", `min_users`, `min_prices`";
$ADD2 = ", d.min_users, d.min_prices";
$OR = " OR (d.min_users <= ".$total." AND d.min_users > 0)";
@@ -381,7 +383,7 @@ LIMIT 1", __FILE__, __LINE__);
break;
default: // Unknown extension mode
- DEBUG_LOG(__FILE__, __LINE__, sprintf("Unknown extension mode %s detected.", getExtensionMode()));
+ logDebugMessage(__FILE__, __LINE__, sprintf("Unknown extension mode %s in extension %s detected.", getExtensionMode(), getCurrentExtensionName()));
break;
} // END - switch