X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fextensions%2Fext-demo.php;h=13fee8950bf206a384fb65bdc0a46b05628f81e0;hb=854a8e9be5d7263b13b2b38ae42d3fa164555e73;hp=3cdb6dfc8f983aa7897be98072eab3ac3a754d11;hpb=5a7bd88507346ce49a2f2ebc0d47cccdfb6728d6;p=mailer.git
diff --git a/inc/extensions/ext-demo.php b/inc/extensions/ext-demo.php
index 3cdb6dfc8f..13fee8950b 100644
--- a/inc/extensions/ext-demo.php
+++ b/inc/extensions/ext-demo.php
@@ -1,7 +1,7 @@
Mailtausch, Mailtausches und Mailtauscher sind austauschbar.");
+ setExtensionUpdateNotes("Wörter {?mt_word?}, {?mt_word2?} und {?mt_word3?} sind austauschbar.");
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;
+} // END - switch
-//
+// [EOF]
?>