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.");
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.");
break;
case '0.2.1': // SQL queries for v0.2.1
- addConfigAddSql('min_age', "TINYINT(3) UNSIGNED NOT NULL DEFAULT 16");
+ addConfigAddSql('min_age', 'TINYINT(3) UNSIGNED NOT NULL DEFAULT 16');
// Update notes (these will be set as task text!)
setExtensionUpdateNotes("Minimumalter ist nun konfigurierbar.");
break;
case '0.2.3': // SQL queries for v0.2.3
- addConfigAddSql('max_send', "BIGINT(20) UNSIGNED NOT NULL DEFAULT 10");
+ addConfigAddSql('max_send', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 10');
// Update notes (these will be set as task text!)
setExtensionUpdateNotes("Fehlende Konfiguration hinzugefügt.");
break;
case '0.2.5': // SQL queries for v0.2.5
- addConfigAddSql('code_length', "TINYINT(3) UNSIGNED NOT NULL DEFAULT 5");
+ addConfigAddSql('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.");