]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-active.php
bigintval() made to much trouble, uberwach wont be displayed in frames anymore
[mailer.git] / inc / extensions / ext-active.php
index 79d213b6e641e5cea6625834156daa1a6aa83955..10bcf31ad9c6fb8fb5d40a555c21d0eeb03dbee4 100644 (file)
@@ -50,7 +50,7 @@ EXT_SET_VER_HISTORY(array('0.0', '0.0.1', '0.0.2', '0.0.3', '0.0.4', '0.0.5', '0
 
 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;
@@ -61,7 +61,7 @@ switch ($EXT_LOAD_MODE)
                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
@@ -125,7 +125,7 @@ switch ($EXT_LOAD_MODE)
                                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&uuml;r den &quot;Wer ist Online&quot; Block hinzugef&uuml;gt und ist von <strong>online</strong> abh&auml;ngig.");