More rewrites to configuration:
[mailer.git] / inc / extensions / order / mode-update.php
index c87577fa2ff0a3e8fa5c39c513e28fe54110878f..aef7ff19a12659fba6933ba536f44cc66298922c 100644 (file)
@@ -338,7 +338,19 @@ nicht die vom Mitglied eingegebene. Resultat: Das Script beschwerte sich, der Us
                                addConfigAddSql('order_multi_page', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
 
                                // Update notes (these will be set as task text!)
-                               setExtensionUpdateNotes("Spalte wird nun in dieser Erweiterung hinzugef&uuml;gt (vorher: allgemeine <strong>tables.sql</strong>).");
+                               setExtensionUpdateNotes("Konfiguration wird nun in dieser Erweiterung hinzugef&uuml;gt (vorher: allgemeine <strong>tables.sql</strong>).");
+                               break;
+
+                       case '0.5.9': // SQL queries for v0.5.9
+                               addConfigChangeSql('unconfirmed', 'max_unconfirmed', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 100');
+                               addConfigAddSql('max_unconfirmed', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 100');
+                               addConfigChangeSql('autosend_active', 'autosend_member_mails', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
+                               addConfigAddSql('autosend_member_mails', "ENUM('Y','N') NOT NULL DEFAULT 'N'");
+                               addConfigChangeSql('max_tlength', 'max_text_length', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 1000');
+                               addConfigAddSql('max_text_length', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 1000');
+
+                               // Update notes (these will be set as task text!)
+                               setExtensionUpdateNotes("Konfiguration wird nun in dieser Erweiterung hinzugef&uuml;gt (vorher: allgemeine <strong>tables.sql</strong>).");
                                break;
                } // END - switch