]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-uberwach.php
Typo fixed
[mailer.git] / inc / extensions / ext-uberwach.php
index e1d6aaaa4f420b09b9cbd60055c766438fcd96af..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
@@ -86,7 +86,7 @@ switch (getExtensionMode()) {
        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