X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-task.php;h=7697edc51a30470781b064ff4af8fb35a564a300;hb=2df9f7a53f8b1dd5164f87824a324ccb3b6634cb;hp=19111376e5b4c3b4b6a4c5f605468b710a214a47;hpb=64c8349613addc3da2242c5cd6b99d64e3fb5f8e;p=mailer.git
diff --git a/inc/extensions/ext-task.php b/inc/extensions/ext-task.php
index 19111376e5..7697edc51a 100644
--- a/inc/extensions/ext-task.php
+++ b/inc/extensions/ext-task.php
@@ -1,7 +1,7 @@
Warning: Missing argument 2 for create_timestamp_from_selections() in {?PATH?}inc/libs/pro_functions.php on line 227 behoben.");
+ setExtensionUpdateNotes("Fehler
Warning: Missing argument 2 for create_timestamp_from_selections() in {?PATH?}inc/libs/pro_functions.php on line 227
behoben.");
break;
case '0.0.5': // SQL queries for v0.0.5
@@ -143,7 +139,7 @@ switch (getExtensionMode()) {
case '0.1.4': // SQL queries for v0.1.4
// 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.1.5': // SQL queries for v0.1.5
@@ -180,7 +176,7 @@ switch (getExtensionMode()) {
case '0.2.0': // SQL queries for v0.2.0
// Update notes (these will be set as task text!)
- setExtensionUpdateNotes("Alle Administratoren, Referal-Banner und aktivierte Referal-Banner werden nun eingeblendet.");
+ setExtensionUpdateNotes("Alle Administratoren, Referral-Banner und aktivierte Referral-Banner werden nun eingeblendet.");
break;
case '0.2.1': // SQL queries for v0.2.1
@@ -195,7 +191,7 @@ switch (getExtensionMode()) {
case '0.2.3': // SQL queries for v0.2.3
// Update notes (these will be set as task text!)
- setExtensionUpdateNotes("Sortierungsreihenfolge grundlegend geändert: Es wird jetzt nach Mitglieder-ID, Aufgabenbereich, Infos und nach dem Erstellunsdatum sortiert.");
+ setExtensionUpdateNotes("Sortierungsreihenfolge grundlegend geändert: Es wird jetzt nach Mitglied-Id, Aufgabenbereich, Infos und nach dem Erstellunsdatum sortiert.");
break;
case '0.2.4': // SQL queries for v0.2.4
@@ -240,27 +236,37 @@ switch (getExtensionMode()) {
case '0.3.2': // SQL queries for v0.3.2
// This update depends on user update
- addExtensionUpdateDependency('sql_patches');
+ addExtensionDependency('sql_patches');
// Update notes (these will be set as task text!)
setExtensionUpdateNotes("Hängt nun von ext-user ab.");
break;
- }
+
+ case '0.3.3': // SQL queries for v0.3.3
+ addExtensionSql('ALTER TABLE `{?_MYSQL_PREFIX?}_task_system` CHANGE `assigned_admin` `assigned_admin` BIGINT(20) UNSIGNED NULL DEFAULT NULL');
+ addExtensionSql('ALTER TABLE `{?_MYSQL_PREFIX?}_task_system` CHANGE `userid` `userid` BIGINT(20) UNSIGNED NULL DEFAULT NULL');
+ addExtensionSql('UPDATE `{?_MYSQL_PREFIX?}_task_system` SET `assigned_admin`=NULL WHERE `assigned_admin`=0');
+ addExtensionSql('UPDATE `{?_MYSQL_PREFIX?}_task_system` SET `userid`=NULL WHERE `userid`=0');
+
+ // Update notes (these will be set as task text!)
+ setExtensionUpdateNotes("Zugewiesener Admin und User-Id dürfen nun NULL sein.");
+ break;
+ } // END - switch
break;
case 'modify': // When the extension got modified
break;
- case 'test': // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
+ case 'test': // For testing purposes
break;
case 'init': // Do stuff when extension is initialized
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
// [EOF]
?>