]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-top10.php
Referal system refactured (and some parts fixed), wrapper function introduced:
[mailer.git] / inc / extensions / ext-top10.php
index db0913f2a81d2fb3b6b9c8611f73212c63ca79e6..0b7165e8b3b4e5854588d94e043c0ccefecebe13 100644 (file)
@@ -43,15 +43,15 @@ if (!defined('__SECURITY')) {
 // Version number
 setThisExtensionVersion('0.1.2');
 
-// Version history array (add more with , '0.1.0' and so on)
-setExtensionVersionHistory(array('0.0', '0.0.1', '0.0.2', '0.0.3', '0.0.4', '0.0.5', '0.0.6', '0.0.7', '0.0.8', '0.0.9', '0.1.0', '0.1.1', '0.1.2'));
+// Version history array (add more with , '0.0.1' and so on)
+setExtensionVersionHistory(array('0.0.0', '0.0.1', '0.0.2', '0.0.3', '0.0.4', '0.0.5', '0.0.6', '0.0.7', '0.0.8', '0.0.9', '0.1.0', '0.1.1', '0.1.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
-               addGuestMenuSql('main','top10','TOP-10','Y','Y', 7);
-               addAdminMenuSql('setup','config_top10','TOP-10 Listen','Stellen Sie hier ein, wie lang die TOP-Listen sein sollen, also wie viele Plätze angezeigt werden sollen.', 8);
-               addConfigAddSql('top10_max', "TINYINT(3) UNSIGNED NOT NULL DEFAULT 10");
+               addGuestMenuSql('main', 'top10', 'TOP-10', 7);
+               addAdminMenuSql('setup', 'config_top10', 'TOP-10 Listen', 'Stellen Sie hier ein, wie lang die TOP-Listen sein sollen, also wie viele Plätze angezeigt werden sollen.', 8);
+               addConfigAddSql('top10_max', 'TINYINT(3) UNSIGNED NOT NULL DEFAULT 10');
                break;
 
        case 'remove': // Do stuff when removing extension