// Version history array (add more with , '0.0.1' and so on)
setExtensionVersionHistory(array('0.0.0', '0.0.1', '0.0.2', '0.0.3', '0.0.4', '0.0.5', '0.0.6', '0.0.7', '0.0.8', '0.0.9'));
-switch (getExtensionMode())
-{
- case 'register': // Do stuff when installation is running
+switch (getExtensionMode()) {
+ case 'setup': // Do stuff when installation is running
// SQL commands to run
addExtensionSql('');
break;
break;
case 'update': // Update an extension
- switch (getCurrentExtensionVersion())
- {
+ switch (getCurrentExtensionVersion()) {
case '0.0.1': // SQL queries for v0.0.1
// Update notes (these will be set as task text!)
setExtensionUpdateNotes("Benachrichtungsmails werden nur beim tägichen Reset ausgesendet");