X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-profile.php;h=75a70b6bc528023f5a8288dff66ca784a510bfa4;hb=80fd77090250e200b2ec070a7f191aa5a260b7ff;hp=c8da12066b511161234fdd72a55a64cb1fbf3265;hpb=927b013dd62bdd14f9da1960bdaaccfaad386009;p=mailer.git diff --git a/inc/extensions/ext-profile.php b/inc/extensions/ext-profile.php index c8da12066b..75a70b6bc5 100644 --- a/inc/extensions/ext-profile.php +++ b/inc/extensions/ext-profile.php @@ -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; @@ -118,17 +118,17 @@ 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 // Do we have a daily-reset-run? - if (isBooleanConstantAndTrue('__DAILY_RESET') && (!DEBUG_MODE) && ($CSS != 1)) - { + if (isBooleanConstantAndTrue('__DAILY_RESET') && (!DEBUG_MODE) && ($CSS != 1)) { // So let's check for profiles which needs an update $INC_POOL[] = sprintf("%sinc/profile-updte.php", PATH); } break; } -// Language file prefix -$EXT_LANG_PREFIX = "profile"; // ?>