X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fremoveip_functions.php;h=0ad68ef3e7baf317f30918f87182d6085caf284f;hp=ba03102accb0b72477d0060ef01b6ddf16140e39;hb=4cd3aebe807c719e7867ef5aefe824c55033f72d;hpb=cf3765c38cf0a76f396aca291f71858936e92956 diff --git a/inc/libs/removeip_functions.php b/inc/libs/removeip_functions.php index ba03102acc..0ad68ef3e7 100644 --- a/inc/libs/removeip_functions.php +++ b/inc/libs/removeip_functions.php @@ -136,17 +136,8 @@ function addAnonymityLevel () { break; } // END - while - // Construct constant name - $constantName = sprintf("REMOVEIP_LEVEL_%s", strtoupper($suffix)); - // Default message - $message = getMaskedMessage('REMOVEIP_UNKNOWN_LEVEL', $suffix); - - // Is that constant there? - if (isMessageIdValid($constantName)) { - // Use that string - $message = getMessage($constantName); - } // END - if + $message = sprintf("{--REMOVEIP_LEVEL_%s--}", strtoupper($suffix)); // Output message in template return loadTemplate('removeip_level', true, $message);