X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-other.php;h=71541b5723d3ae48292c17d57d3fd3b136cf5035;hb=4f089d36fcc801992932f3a1f47ab139b573a38d;hp=5d0472bdad2c67a94978c99419b9794d564a932f;hpb=086762b9606889fbda59d946b7b557d764ec2c0e;p=mailer.git
diff --git a/inc/extensions/ext-other.php b/inc/extensions/ext-other.php
index 5d0472bdad..71541b5723 100644
--- a/inc/extensions/ext-other.php
+++ b/inc/extensions/ext-other.php
@@ -1,7 +1,7 @@
Mailtausch, Mailtausches und Mailtauscher sind austauschbar.");
+ setExtensionUpdateNotes("Wörter {?mt_word?}, {?mt_word2?} und {?mt_word3?} sind austauschbar.");
break;
case '0.1.3': // SQL queries for v0.1.3
@@ -208,7 +209,7 @@ switch (getExtensionMode()) {
break;
case '0.2.3': // SQL queries for v0.2.3
- addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_config` ADD `max_send` BIGINT(20) NOT NULL DEFAULT 10");
+ addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_config` ADD `max_send` BIGINT(20) UNSIGNED NOT NULL DEFAULT 10");
// Update notes (these will be set as task text!)
setExtensionUpdateNotes("Fehlende Konfiguration hinzugefügt.");
@@ -216,11 +217,18 @@ switch (getExtensionMode()) {
case '0.2.4': // SQL queries for v0.2.4
// Register filter
- registerFilter('page_footer', 'DISPLAY_DEBUG_SQL', false, true, getExtensionDryRun());
+ registerFilter('page_footer', 'DISPLAY_DEBUG_SQL', false, true, isExtensionDryRun());
// Update notes (these will be set as task text!)
setExtensionUpdateNotes("Filter zum Anzeigen (Debug) von ausgeführten SQL-Anweisungen hinzugefügt.");
break;
+
+ case '0.2.5': // SQL queries for v0.2.5
+ addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_config` ADD `code_length` TINYINT(3) UNSIGNED NOT NULL DEFAULT 5");
+
+ // Update notes (these will be set as task text!)
+ setExtensionUpdateNotes("Codelänge aus tables.sql rausgeholt.");
+ break;
}
break;
@@ -234,7 +242,7 @@ switch (getExtensionMode()) {
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;
}