- default: // Do stuff when extension is loaded
- // Do we have a daily-reset-run?
- if (isResetModeEnabled() && (!isDebugModeEnabled()) && ($GLOBALS['output_mode'] != 1)) {
- // So let's check for profiles which needs an update
- ADD_INC_TO_POOL(sprintf("%sinc/profile-updte.php", constant('PATH')));
- }
- break;
+ case 'init': // Do stuff when extension is initialized
+ break;
+
+ default: // Unknown extension mode
+ logDebugMessage(__FILE__, __LINE__, sprintf("Unknown extension mode %s detected.", getExtensionMode()));
+ break;