]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-mydata.php
Heavily rewritten API:
[mailer.git] / inc / extensions / ext-mydata.php
index 32b1f1efa668d6df50173336c5d9ecca10559c4d..a1b08201edb7aa3d2c3c051240308d1e8220a061 100644 (file)
@@ -48,7 +48,7 @@ $EXT_VER_HISTORY = array("0.0", "0.0.1", "0.0.2", "0.0.3", "0.0.4", "0.0.5", "0.
 
 switch ($EXT_LOAD_MODE)
 {
-case "register": // Do stuff when installtion is running (modules.php?module=admin&action=login is called)
+case "register": // Do stuff when installation is running (modules.php?module=admin&action=login is called)
        // SQL commands to run
        $SQLs[] = "";
        break;
@@ -129,6 +129,7 @@ case "update": // Update an extension
 
                // Depends on 'country'!
                $EXT_UPDATE_DEPENDS = "country";
+               break;
 
        case "0.1.3": // SQL queries for v0.1.3
                // Update notes (these will be set as task text!)
@@ -162,12 +163,12 @@ case "update": // Update an extension
        }
        break;
 
+case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
+       break;
+
 default: // Do stuff when extension is loaded
        break;
 }
 
-// Language file prefix
-$EXT_LANG_PREFIX = "mydata";
-
 //
 ?>