]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-payout.php
All 'online' table queries should be placed in ext-online.php
[mailer.git] / inc / extensions / ext-payout.php
index 16b63de9a14967d912cd54d875837c5b22d57b57..8f468d44ccfa3dbe9eadbbfb9c4a55dc5eed6e58 100644 (file)
@@ -60,7 +60,7 @@ status ENUM('NEW','ACCEPTED','REJECTED') NOT NULL DEFAULT 'NEW',
 KEY(userid),
 KEY(payout_id),
 PRIMARY KEY(id)
-) TYPE=MyISAM");
+) TYPE={!_TABLE_TYPE!}");
        ADD_SQL("DROP TABLE IF EXISTS `{!_MYSQL_PREFIX!}_payout_types`");
        ADD_SQL("CREATE TABLE `{!_MYSQL_PREFIX!}_payout_types` (
 id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
@@ -68,7 +68,7 @@ type VARCHAR(255) NOT NULL DEFAULT '',
 rate FLOAT(22,3) UNSIGNED NOT NULL DEFAULT '0.000',
 min_points BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
 PRIMARY KEY(id)
-) TYPE=MyISAM");
+) TYPE={!_TABLE_TYPE!}");
        ADD_SQL("INSERT INTO `{!_MYSQL_PREFIX!}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('setup','config_payouts','Auszahlungen','Auszahlungsarten einstellen, neu anlegen oder löschen.','15')");
        ADD_SQL("INSERT INTO `{!_MYSQL_PREFIX!}_admin_menu` (`action`,`what`,`title`,`descr`,`sort`) VALUES ('payouts','list_payouts','Anfragen auflisten','Listet alle Auszahlungsanfragen Ihrer Mitglieder auf.','16')");
        ADD_SQL("INSERT INTO `{!_MYSQL_PREFIX!}_member_menu` (`action`,`what`,`title`,`visible`,`locked`,`sort`) VALUES ('main','payout','Auszahlungen','N','N','11')");
@@ -235,6 +235,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;