X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-admins.php;h=ebb2bc1c347464df30eb36784eeac767fc9cd10e;hb=b16d1f640a44da05b1f018be13e8d0b803a74aeb;hp=c698c25af797d85f70aa3ec88228ef1d28654ad5;hpb=33e11a76a6d2d20d20d54ed1a7380ed1375bd3ed;p=mailer.git diff --git a/inc/extensions/ext-admins.php b/inc/extensions/ext-admins.php index c698c25af7..ebb2bc1c34 100644 --- a/inc/extensions/ext-admins.php +++ b/inc/extensions/ext-admins.php @@ -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ügt und ist von sql_patches abhängig.");