]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-uberwach.php
ext-refback is now longer essential for the referal system, please make sure that...
[mailer.git] / inc / extensions / ext-uberwach.php
index 81df8f7a945b21a2f8f65492df79b1ad41b127fe..42b83a0cf5dbe52534221e8a2f80123c7fbe26bc 100644 (file)
@@ -43,11 +43,11 @@ if (!defined('__SECURITY')) {
 // Version number
 setThisExtensionVersion('0.0.2');
 
-// Version history array (add more with , '0.1.0' and so on)
-setExtensionVersionHistory(array('0.0', '0.0.1', '0.0.2'));
+// Version history array (add more with , '0.0.1' and so on)
+setExtensionVersionHistory(array('0.0.0', '0.0.1', '0.0.2'));
 
 switch (getExtensionMode()) {
-       case 'register': // Do stuff when installation is running (modules.php?module=admin is called)
+       case 'register': // Do stuff when installation is running
                // SQL commands to run
                break;
 
@@ -77,7 +77,7 @@ switch (getExtensionMode()) {
                                break;
 
                        case '0.0.2': // SQL queries for v0.0.2
-                               addExtensionSql("ALTER TABLE `{?_MYSQL_PREFIX?}_config` ADD `uberwach_backlink` ENUM('Y','N') NOT NULL DEFAULT 'Y'");
+                               addConfigAddSql('uberwach_backlink', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
                                addAdminMenuSql('config','config_uberwach','Überwach!-Aktion','Einstellungen zur Aktion "Überwach!"', 7);
                                break;
                } // END - switch