]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-active.php
Not DEFAULT_POINTS
[mailer.git] / inc / extensions / ext-active.php
index 7bfa767222c68bbb361e14ebc680ad1df9659ae2..be79a48ceb60776286fef3316efa669e6056eda2 100644 (file)
@@ -43,13 +43,13 @@ if (!defined('__SECURITY')) {
 // Version number
 setThisExtensionVersion('0.0.9');
 
-// 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'));
+// 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'));
 
 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','active','Heute Online','N','Y',10);
+               addGuestMenuSql('main', 'active', 'Heute Online', 10);
                break;
 
        case 'remove': // Do stuff when removing extension
@@ -94,8 +94,8 @@ switch (getExtensionMode()) {
                                break;
 
                        case '0.0.5': // SQL queries for v0.0.5
-                               addConfigAddSql('active_limit', "BIGINT(20) UNSIGNED NOT NULL DEFAULT 10");
-                               addAdminMenuSql('setup', 'config_active', 'Aktiv-Liste','Einstellungen an der Aktiv-Liste (<strong>Heute Online</strong> im Gastbereich) vornehmen.', 8);
+                               addConfigAddSql('active_limit', 'BIGINT(20) UNSIGNED NOT NULL DEFAULT 10');
+                               addAdminMenuSql('setup', 'config_active', 'Aktiv-Liste', 'Einstellungen an der Aktiv-Liste (<strong>Heute Online</strong> im Gastbereich) vornehmen.', 8);
 
                                // Update notes (these will be set as task text!)
                                setExtensionUpdateNotes("Aktiven-Liste im Gastbereich ist nun einschr&auml;nkbar.");