]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-debug.php
Area 'modify' added to all extensions, some fixes for installing/modifying extension
[mailer.git] / inc / extensions / ext-debug.php
index 1e7dc59f48cc3297882999e767880fa5a9c9f7e8..ae191d87aabffa72a12f98cdb22040b07d02ff14 100644 (file)
@@ -60,7 +60,7 @@ case "register": // Do stuff when installation is running (modules.php?module=ad
 `inserted` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
 INDEX (`sender_id`),
 PRIMARY KEY (`id`)
-) TYPE=MyISAM COMMENT='Debug log data'");
+) TYPE={!_TABLE_TYPE!} COMMENT='Debug log data'");
 
        // Table against debug log abuse
        ADD_SQL("DROP TABLE IF EXISTS `{!_MYSQL_PREFIX!}_debug_log_abuse`");
@@ -72,7 +72,7 @@ PRIMARY KEY (`id`)
 `inserted` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
 INDEX (`client_id`),
 PRIMARY KEY (`id`)
-) TYPE=MyISAM COMMENT='Debug log abuse'");
+) TYPE={!_TABLE_TYPE!} COMMENT='Debug log abuse'");
 
        // Table on relay/server for client exchanges
        ADD_SQL("DROP TABLE IF EXISTS `{!_MYSQL_PREFIX!}_debug_client`");
@@ -89,7 +89,7 @@ PRIMARY KEY (`id`)
 UNIQUE (`key`),
 UNIQUE (`url`),
 PRIMARY KEY (`id`)
-) TYPE=MyISAM COMMENT='Debug clients'");
+) TYPE={!_TABLE_TYPE!} COMMENT='Debug clients'");
 
        // Add this exchange as first client
        ADD_SQL("INSERT INTO `{!_MYSQL_PREFIX!}_debug_client` (`url`,`title`,`webmaster`,`status`) VALUES ('{!URL!}','{!MAIN_TITLE!}','{!WEBMASTER!}','ACTIVE')");
@@ -103,7 +103,7 @@ PRIMARY KEY (`id`)
 INDEX `client_log` (`client_id`,`log_id`),
 UNIQUE (`log_id`),
 PRIMARY KEY (`id`)
-) TYPE=MyISAM COMMENT='Debug client <-> log connection'");
+) TYPE={!_TABLE_TYPE!} COMMENT='Debug client <-> log connection'");
 
        // Guest menus
        ADD_SQL("INSERT INTO `{!_MYSQL_PREFIX!}_guest_menu` (`action`,`what`,`title`,`visible`,`locked`,`sort`) VALUES ('debug',NULL,'Debug-System','Y','Y',2)");
@@ -162,6 +162,9 @@ case "update": // Update an extension
        }
        break;
 
+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.
        break;