]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-removeip.php
Not DEFAULT_POINTS
[mailer.git] / inc / extensions / ext-removeip.php
index e91ed60db6e79e1ca9f91da3ecfddd06a2a21ec1..8d6f633beb3fe7721cfb6ccee463c0905ed2a714 100644 (file)
@@ -43,11 +43,11 @@ if (!defined('__SECURITY')) {
 // Version number
 setThisExtensionVersion('0.0.1');
 
-// Version history array (add more with , '0.1.0' and so on)
-setExtensionVersionHistory(array('0.0', '0.0.1'));
+// Version history array (add more with , '0.0.1' and so on)
+setExtensionVersionHistory(array('0.0.0', '0.0.1'));
 
 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
                addConfigAddSql('removeip_anon_ip', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
                addConfigAddSql('removeip_anon_host', "ENUM('Y','N') NOT NULL DEFAULT 'Y'");
@@ -80,7 +80,7 @@ switch (getExtensionMode()) {
        case 'update': // Update an extension
                switch (getCurrentExtensionVersion()) {
                        case '0.0.1': // SQL queries for v0.0.1
-                               // Update depends on sql_patches
+                               // Update depends on ext-sql_patches
                                addExtensionDependency('sql_patches');
 
                                // Add filters