]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-other.php
SQL removal list table is now 100%, SQL error in ext-bonus fixed (thanks to schatty)
[mailer.git] / inc / extensions / ext-other.php
index 1cd35d485532991993c92c2cb2de5269dbe75416..719e9a7cd35e51cfe234116004a4226818353b92 100644 (file)
@@ -156,7 +156,7 @@ case "update": // Update an extension
                break;
 
        case "0.1.6": // SQL queries for v0.1.6
-               $SQLs[] = "ALTER TABLE `"._MYSQL_PREFIX."_config` ADD reject_url VARCHAR(255) NOT NULL DEFAULT '".URL."'";
+               $SQLs[] = "ALTER TABLE `"._MYSQL_PREFIX."_config` ADD reject_url VARCHAR(255) NOT NULL DEFAULT '{!URL!}'";
 
                // Update notes (these will be set as task text!)
                $UPDATE_NOTES = "Bei Ablehnung der URL wird jetzt endlich eine Standart-URL eingesetzt, die konfigurierbar ist. Fehler beim Laden der Konfiguration gefunden.";
@@ -197,6 +197,9 @@ case "update": // Update an extension
        }
        break;
 
+case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
+       break;
+
 default: // Do stuff when extension is loaded
        break;
 }