X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-removeip.php;h=0c61aa0e610e0417b914a531f66e6455efc49834;hb=168004e78b90321c9e8b0f1d9b591fb8159a9c96;hp=e25a464d94da816955779df15821a729044a44fa;hpb=3e59c04a3d42b5916bb8bde102979ef02e39954f;p=mailer.git diff --git a/inc/extensions/ext-removeip.php b/inc/extensions/ext-removeip.php index e25a464d94..0c61aa0e61 100644 --- a/inc/extensions/ext-removeip.php +++ b/inc/extensions/ext-removeip.php @@ -14,8 +14,6 @@ * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * * Copyright (c) 2009, 2010 by Mailer Developer Team * @@ -69,7 +67,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, isExtensionDryRun()); + unregisterFilter(__FUNCTION__, __LINE__, 'post_youhere_line', 'ADD_ANONYMITY_NOTICE', true, isExtensionDryRun()); break; case 'activate': // Do stuff when admin activates this extension @@ -84,7 +82,7 @@ switch (getExtensionMode()) switch (getCurrentExtensionVersion()) { case '0.0.1': // SQL queries for v0.0.1 // Update depends on sql_patches - addExtensionUpdateDependency('sql_patches'); + addExtensionDependency('sql_patches'); // Add filters registerFilter('post_youhere_line', 'ADD_ANONYMITY_NOTICE', false, true, isExtensionDryRun());