More rewrites to make lesser use of getMessage()
[mailer.git] / inc / libs / wernis_functions.php
index 05c11107ac9d38c407645ae391efee50d5a69431..21c3f2f1478c3e8896d0e69a60f8c690e9d05972 100644 (file)
@@ -58,7 +58,7 @@ function GET_WERNIS_ERROR_MESSAGE () {
                return getMaskedMessage('WERNIS_ERROR_STATUS', $GLOBALS['wernis_data']['status']);
        } else {
                // Something bad happend
-               return getMessage('WERNIS_UNKNOWN_ERROR');
+               return '{--WERNIS_UNKNOWN_ERROR--}';
        }
 }
 
@@ -69,7 +69,7 @@ function GET_WERNIS_ERROR_CODE () {
                return $GLOBALS['wernis_data']['status'];
        } else {
                // Something bad happend
-               return getMessage('WERNIS_UNKNOWN_ERROR');
+               return '{--WERNIS_UNKNOWN_ERROR--}';
        }
 }