]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-other.php
Wrapper functions introduced for configuration, loaders refactured:
[mailer.git] / inc / extensions / ext-other.php
index fd651510e63873980b31d073b0d2cf4145106a29..f3ae6254d9d47c04c17cb7a76a9ca741b4c857d3 100644 (file)
@@ -91,7 +91,7 @@ switch (getExtensionMode()) {
                                break;
 
                        case '0.0.4': // SQL queries for v0.0.4
-                               addConfigAddSql("max_comma TINYINT(3) UNSIGNED NOT NULL DEFAULT 3");
+                               addConfigAddSql('max_comma', "TINYINT(3) UNSIGNED NOT NULL DEFAULT 3");
 
                                // Update notes (these will be set as task text!)
                                setExtensionUpdateNotes("Angezeigte Kommastellen können zwischen 0 und 5 eingestellt werden.");
@@ -186,7 +186,7 @@ switch (getExtensionMode()) {
                                break;
 
                        case '0.2.0': // SQL queries for v0.2.0
-                               addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_config` CHANGE `mailid_error_redirect` `mailid_error_redirect` ENUM('INDEX','REJECT') NOT NULL DEFAULT 'INDEX'");
+                               addConfigChangeSql('mailid_error_redirect', 'mailid_error_redirect', "ENUM('INDEX','REJECT') NOT NULL DEFAULT 'INDEX'");
 
                                // Update notes (these will be set as task text!)
                                setExtensionUpdateNotes("Bei fehlerhafter Mail während der Bestätigung kann wahlweise zur Hauptseite weitergeleitet oder auf die eingestellte Ablehnungsseite umgeleitet werden.");