X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-removeip.php;h=1f656ce00cb552ade4bed00c4c3a2ecbe47cff7b;hb=1e651767aee72496f6af1a50784919afcde7a0eb;hp=c0985287df2810736b8d259a46b9a7287c66200f;hpb=11cb7c74eace090fb8e1de4176e96e92b4cc6541;p=mailer.git diff --git a/inc/extensions/ext-removeip.php b/inc/extensions/ext-removeip.php index c0985287df..1f656ce00c 100644 --- a/inc/extensions/ext-removeip.php +++ b/inc/extensions/ext-removeip.php @@ -69,7 +69,7 @@ switch (getExtensionMode()) addExtensionSql("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_admin_menu` WHERE `what`='config_removeip' LIMIT 1"); // Remove filters - unregisterFilter('post_youhere_line', 'ADD_ANONYMITY_NOTICE', true, getExtensionDryRun()); + unregisterFilter(__FUNCTION__, __LINE__, 'post_youhere_line', 'ADD_ANONYMITY_NOTICE', true, isExtensionDryRun()); break; case 'activate': // Do stuff when admin activates this extension @@ -87,7 +87,7 @@ switch (getExtensionMode()) addExtensionUpdateDependency('sql_patches'); // Add filters - registerFilter('post_youhere_line', 'ADD_ANONYMITY_NOTICE', false, true, getExtensionDryRun()); + registerFilter('post_youhere_line', 'ADD_ANONYMITY_NOTICE', false, true, isExtensionDryRun()); // Update notes (these will be set as task text!) setExtensionUpdateNotes("Filter hinzugefügt und ist von sql_patches abhängig.");