switch ($EXT_LOAD_MODE)
{
- case 'register': // Do stuff when installation is running (modules.php?module=admin&action=login is called)
+ case 'register': // Do stuff when installation is running (modules.php?module=admin is called)
// SQL commands to run
ADD_EXT_SQL("INSERT INTO `{!_MYSQL_PREFIX!}_guest_menu` (`action`,`what`,`title`,`sort`,`visible`,`locked`) VALUES ('main','active','Heute Online', 10, 'N','Y')");
break;
ADD_EXT_SQL("DELETE LOW_PRIORITY FROM `{!_MYSQL_PREFIX!}_admin_menu` WHERE `what`='config_active'");
// Unregister filter
- UNREGISTER_FILTER('online_extra_links', 'ADD_LINK_ACTIVE_LIST', true, $dry_run);
+ unregisterFilter('online_extra_links', 'ADD_LINK_ACTIVE_LIST', true, $dry_run);
break;
case 'activate': // Do stuff when admin activates this extension
EXT_ADD_UPDATE_DEPENDS('online');
// Register filter
- REGISTER_FILTER('online_extra_links', 'ADD_LINK_ACTIVE_LIST', false, true, $dry_run);
+ registerFilter('online_extra_links', 'ADD_LINK_ACTIVE_LIST', false, true, $dry_run);
// Update notes (these will be set as task text!)
EXT_SET_UPDATE_NOTES("Filter für den "Wer ist Online" Block hinzugefügt und ist von <strong>online</strong> abhängig.");