]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/removeip_functions.php
Commented out noisy debug lines (maybe another branch is needed for debug-only).
[mailer.git] / inc / libs / removeip_functions.php
index afb9e0265bef5fad0300f0973e75df1f851e7847..75aaeb50be4cd8f2ef6ae3b56e531724ab56b03d 100644 (file)
@@ -16,8 +16,8 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -138,22 +138,7 @@ function addAnonymityLevel () {
        $message = sprintf("{--REMOVEIP_LEVEL_%s--}", strtoupper($suffix));
 
        // Output message in template
-       return loadTemplate('removeip_level', true, $message);
-}
-
-// Filter for adding anonymity notice to the output stream
-function FILTER_ADD_ANONYMITY_NOTICE ($data) {
-       // Init content
-       $content = $data;
-
-       // Extension removeip activated?
-       if ((isExtensionActive('removeip')) && (getConfig('removeip_'.strtolower($data['access_level']).'_show') == 'Y')) {
-               // Add anoymity/privacy infos
-               $content['content'] .= addAnonymityLevel() . "<br />\n";
-       } // END - if
-
-       // Return it
-       return $content;
+       return loadTemplate('removeip_level', TRUE, $message);
 }
 
 // [EOF]