}
// Version number
-setThisExtensionVersion('0.0');
+setThisExtensionVersion('0.0.1');
// Version history array (add more with , '0.1.0' and so on)
-setExtensionVersionHistory(array('0.0'));
+setExtensionVersionHistory(array('0.0', '0.0.1'));
switch (getExtensionMode()) {
case 'register': // Do stuff when installation is running (modules.php?module=admin is called)
break;
case 'remove': // Do stuff when removing extension
- // SQL commands to run
+ // Unregister filter
+ unregisterFilter('page_footer', 'DISPLAY_UBERWACH_SNIPPET', false, true, getExtensionDryRun());
break;
case 'activate': // Do stuff when admin activates this extension
case 'update': // Update an extension
switch (getCurrentExtensionVersion()) {
case '0.0.1': // SQL queries for v0.0.1
- addExtensionSql('');
+ registerFilter('page_footer', 'DISPLAY_UBERWACH_SNIPPET', false, true, getExtensionDryRun());
// Update notes (these will be set as task text!)
- setExtensionUpdateNotes('');
+ setExtensionUpdateNotes("Filter zum Anzeigen des Snippets hinzugefügt");
break;
} // END - switch
break;