X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fextensions%2Fext-optimize.php;h=3028ee11e90fab3a09e42a935813641962d6a527;hp=f9f04619671931cb4301c95e6079698d5a042b45;hb=20741b93fd58620af677a7f1039ffd16ea6ec689;hpb=1dd584090ba559372adb525fba74f46262c7308c diff --git a/inc/extensions/ext-optimize.php b/inc/extensions/ext-optimize.php index f9f0461967..3028ee11e9 100644 --- a/inc/extensions/ext-optimize.php +++ b/inc/extensions/ext-optimize.php @@ -1,7 +1,7 @@ Patch 340 überflüssige HTML-Tags entfernt."); + setExtensionUpdateNotes("Seit Patch 340 überflüssige HTML-Tags entfernt."); break; case '0.0.5': // SQL queries for v0.0.5 // Update notes (these will be set as task text!) - EXT_SET_UPDATE_NOTES("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist."); + setExtensionUpdateNotes("Fehler beseitigt, wenn error_reporting=E_ALL gesetzt ist."); break; case '0.0.6': // SQL queries for v0.0.6 // Update notes (these will be set as task text!) - EXT_SET_UPDATE_NOTES("HTML-Code ausgelagert in Templates."); + setExtensionUpdateNotes("HTML-Code ausgelagert in Templates."); break; } break; - case 'modify': // When the extension got modified - break; + case 'modify': // When the extension got modified + break; - case 'test': // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305. - break; + case 'test': // For testing purposes + break; - default: // Do stuff when extension is loaded - break; -} + case 'init': // Do stuff when extension is initialized + break; -// Keep this extension always active! -EXT_SET_ALWAYS_ACTIVE('Y'); + default: // Unknown extension mode + logDebugMessage(__FILE__, __LINE__, sprintf("Unknown extension mode %s in extension %s detected.", getExtensionMode(), getCurrentExtensionName())); + break; +} -// +// [EOF] ?>