]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-imprint.php
Countless fixes, ext-grade started:
[mailer.git] / inc / extensions / ext-imprint.php
index 74c3d1d2bb2bcba7fa77340c782e0335756cc229..514888520ceaf9ca2cdf36edcc219610fc37db1a 100644 (file)
@@ -41,16 +41,16 @@ if (!defined('__SECURITY')) {
 } // END - if
 
 // Version number
-setThisExtensionVersion('0.0');
+setThisExtensionVersion('0.0.0');
 
-// Version history array (add more with , '0.1.0' and so on)
-setExtensionVersionHistory(array('0.0'));
+// Version history array (add more with , '0.0.1' and so on)
+setExtensionVersionHistory(array('0.0.0'));
 
 // This extension is in development (non-productive)
 enableExtensionProductive(false);
 
 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
                addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_guest_menu` WHERE `what`='impressum' LIMIT 1");
 
@@ -66,7 +66,7 @@ switch (getExtensionMode()) {
 
                // Create imprint data table
                addDropTableSql('imprint_data');
-               addExtensionSql("CREATE TABLE `{?_MYSQL_PREFIX?}_imprint_data` (
+               addCreateTableSql('imprint_data', "(
 `imprint_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
 `imprint_key` VARCHAR(255) NOT NULL DEFAULT '',
 `imprint_value` VARCHAR(255) NOT NULL DEFAULT '',