]> git.mxchange.org Git - mailer.git/blobdiff - modules.php
Next wave of lesser getMessage()
[mailer.git] / modules.php
index 796b1e8128191000cc04810ef640d0afc45390f7..5dcf9f06cf57dc65778c118b2fa20462f340a609 100644 (file)
@@ -76,7 +76,7 @@ $check = 'failed';
 // Is the maintenance mode active or goes all well?
 if ((isExtensionActive('maintenance')) && (getConfig('maintenance') == 'Y') && (!isAdmin()) && (getModule() != 'admin')) {
        // Maintain mode is active and you are no admin
 // Is the maintenance mode active or goes all well?
 if ((isExtensionActive('maintenance')) && (getConfig('maintenance') == 'Y') && (!isAdmin()) && (getModule() != 'admin')) {
        // Maintain mode is active and you are no admin
-       addFatalMessage(__FILE__, __LINE__, getMessage('MAILER_DOWN_FOR_MAINTENANCE'));
+       addFatalMessage(__FILE__, __LINE__, '{--MAILER_DOWN_FOR_MAINTENANCE--}');
 } elseif ((SQL_IS_LINK_UP()) && (!ifFatalErrorsDetected())) {
        // Construct module name
        $GLOBALS['module_inc'] =  sprintf("inc/modules/%s.php", getModule());
 } elseif ((SQL_IS_LINK_UP()) && (!ifFatalErrorsDetected())) {
        // Construct module name
        $GLOBALS['module_inc'] =  sprintf("inc/modules/%s.php", getModule());
@@ -133,7 +133,7 @@ if ((isExtensionActive('maintenance')) && (getConfig('maintenance') == 'Y') && (
        } // END - switch
 } elseif (!ifFatalErrorsDetected()) {
        // MySQL problems detected
        } // END - switch
 } elseif (!ifFatalErrorsDetected()) {
        // MySQL problems detected
-       addFatalMessage(__FILE__, __LINE__, getMessage('MYSQL_ERRORS'));
+       addFatalMessage(__FILE__, __LINE__, '{--MYSQL_ERRORS--}');
 }
 
 if (($isModuleValid === true) && (isset($GLOBALS['module_inc']))) {
 }
 
 if (($isModuleValid === true) && (isset($GLOBALS['module_inc']))) {