X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fextensions%2Fext-mods.php;h=67db83ee3271ef2bc5ddec92d83e9e91d6333bd4;hp=c91e18ae08634a5f4aeb80358873bf6a56a5555b;hb=4bf784ce2bd777045d4351b3fefbd34c66c838e1;hpb=5071030af40e69ca4284642f44758964e18f5be8 diff --git a/inc/extensions/ext-mods.php b/inc/extensions/ext-mods.php index c91e18ae08..67db83ee32 100644 --- a/inc/extensions/ext-mods.php +++ b/inc/extensions/ext-mods.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("HTML-Code ausgelagert in Templates und SQL-Anweisungen abgesichert."); + setExtensionUpdateNotes("HTML-Code ausgelagert in Templates und SQL-Anweisungen abgesichert."); break; case '0.0.6': // SQL queries for v0.0.6 // Update notes (these will be set as task text!) - EXT_SET_UPDATE_NOTES("Abspeichern von Einstellungen repariert."); + setExtensionUpdateNotes("Abspeichern von Einstellungen repariert."); break; case '0.0.7': // SQL queries for v0.0.7 // Update notes (these will be set as task text!) - EXT_SET_UPDATE_NOTES("Sicherheitsupdate für die Include-Befehle."); + setExtensionUpdateNotes("Sicherheitsupdate für die Include-Befehle."); break; case '0.0.8': // SQL queries for v0.0.8 - ADD_EXT_SQL("UPDATE `{!_MYSQL_PREFIX!}_admin_menu` SET title = 'Modul-Management' WHERE action = 'mods' AND (`what`='' OR `what` IS NULL) LIMIT 1"); + addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admin_menu` SET title = 'Modul-Management' WHERE action = 'mods' AND (`what`='' OR `what` IS NULL) LIMIT 1"); // Update notes (these will be set as task text!) - EXT_SET_UPDATE_NOTES("Verwaltung auf Management umgestellt."); + setExtensionUpdateNotes("Verwaltung auf Management umgestellt."); 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. For details see file inc/modules/admin/what-extensions.php, arround line 305. + break; - default: // Do stuff when extension is loaded - break; + case 'init': // Do stuff when extension is initialized + break; + + default: // Unknown extension mode + logDebugMessage(__FILE__, __LINE__, sprintf("Unknown extension mode %s in extension %s detected.", getExtensionMode(), getCurrentExtensionName())); + break; } -// +// [EOF] ?>