More rewrites to make lesser use of getMessage()
[mailer.git] / inc / libs / removeip_functions.php
index ba03102accb0b72477d0060ef01b6ddf16140e39..0ad68ef3e7baf317f30918f87182d6085caf284f 100644 (file)
@@ -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);