]> git.mxchange.org Git - mailer.git/blobdiff - modules.php
Several code-cleanups:
[mailer.git] / modules.php
index fbcc2ff8bc4c10e71125b05da6d46cbff5b482ac..d4e00b3f872b82034fe311f314f30cef8f846023 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
+ * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
  * For more information visit: http://www.mxchange.org                  *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -89,7 +89,7 @@ if ((isExtensionActive('maintenance')) && (isMaintenanceEnabled()) && (!isAdmin(
                                // Set HTTP status
                                setHttpStatus('404');
 
-                               // Module not found!
+                               // Module not found
                                addFatalMessage(__FILE__, __LINE__, getMaskedMessage('MODULE_REGISTRY_404', getModule()));
 
                                // Set module to error module (non-existent!)
@@ -118,7 +118,7 @@ if ((isExtensionActive('maintenance')) && (isMaintenanceEnabled()) && (!isAdmin(
                        } // END - if
 
                        // Add fatal message
-                       addFatalMessage(__FILE__, __LINE__, getMaskedMessage('MODULE_IS_LOCKED', getModule()));
+                       addFatalMessage(__FILE__, __LINE__, getMaskedMessage('MODULE_REGISTRY_IS_LOCKED', getModule()));
                        break;
 
                default:
@@ -128,7 +128,7 @@ if ((isExtensionActive('maintenance')) && (isMaintenanceEnabled()) && (!isAdmin(
                        break;
        } // END - switch
 } elseif (!ifFatalErrorsDetected()) {
-       // MySQL problems detected
+       // SQL problems detected
        addFatalMessage(__FILE__, __LINE__, '{--MYSQL_ERRORS--}');
 }