X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fextensions%2Fext-demo.php;h=db8cd56bb784fc12740194a6e5e21167fb65caad;hp=916b0ad196a3b145a107ba11d0d0cf250fddf523;hb=56156f6c4392510cdbe0eb4f2ccefc23b43e2672;hpb=963e55ca1ea79e255f235e359cde9f7862191dc5 diff --git a/inc/extensions/ext-demo.php b/inc/extensions/ext-demo.php index 916b0ad196..db8cd56bb7 100644 --- a/inc/extensions/ext-demo.php +++ b/inc/extensions/ext-demo.php @@ -48,7 +48,7 @@ $EXT_VER_HISTORY = array("0.0", "0.0.1"); 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; @@ -73,19 +73,17 @@ case "update": // Update an extension { case "0.0.1": // SQL queries for v0.0.1 // Update notes (these will be set as task text!) - $UPDATE_NOTES = "Wörter Mailtausch, Mailtausches und Mailtauscher sind austauschbar."; + $UPDATE_NOTES = "Wörter Mailtausch, Mailtausches und Mailtauscher sind austauschbar."; break; } 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 = "demo"; - -// Extension is always active? -$EXT_ALWAYS_ACTIVE = "N"; // ?>