]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-admins.php
Functions renamed to new naming convetion, TODOs.txt updated
[mailer.git] / inc / extensions / ext-admins.php
index c698c25af797d85f70aa3ec88228ef1d28654ad5..ebb2bc1c347464df30eb36784eeac767fc9cd10e 100644 (file)
@@ -65,7 +65,7 @@ switch ($EXT_LOAD_MODE)
                ADD_EXT_SQL("ALTER TABLE `{!_MYSQL_PREFIX!}_admins` DROP default_acl");
 
                // Remove filters
-               UNREGISTER_FILTER('sql_admin_extra_data', 'ADD_EXTRA_SQL_DATA', true, $dry_run);
+               unregisterFilter('sql_admin_extra_data', 'ADD_EXTRA_SQL_DATA', true, $dry_run);
                break;
 
        case 'activate': // Do stuff when admin activates this extension
@@ -290,7 +290,7 @@ PRIMARY KEY (id)
                                EXT_ADD_UPDATE_DEPENDS('sql_patches');
 
                                // Add filters
-                               REGISTER_FILTER('sql_admin_extra_data', 'ADD_EXTRA_SQL_DATA', false, true, $dry_run);
+                               registerFilter('sql_admin_extra_data', 'ADD_EXTRA_SQL_DATA', false, true, $dry_run);
 
                                // Update notes (these will be set as task text!)
                                EXT_SET_UPDATE_NOTES("Filter hinzugef&uuml;gt und ist von <strong>sql_patches</strong> abh&auml;ngig.");