'what' files should be loaded only once
[mailer.git] / inc / modules / admin / action-primera.php
index 3b93f910798ea4588533777d8bc0a6af91590b4c..b437bc1dd972e14800944a6570cd06e72a6c04c6 100644 (file)
@@ -16,8 +16,8 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -41,15 +41,15 @@ if ((!defined('__SECURITY')) || (!isAdmin())) {
 } // END - if
 
 // Add description as navigation point
-addMenuDescription('admin', __FILE__);
+addYouAreHereLink('admin', __FILE__);
 
 // Load the include file
 $inc = sprintf("inc/modules/admin/what-%s.php", getWhat());
 if (isIncludeReadable($inc)) {
        // Ok, we finally load the admin action module
-       loadInclude($inc);
+       loadIncludeOnce($inc);
 } else {
-       addFatalMessage(__FILE__, __LINE__, '{--ADMIN_WHAT_404--}', getWhat());
+       addFatalMessage(__FILE__, __LINE__, '{--ADMIN_WHAT_404--}');
 }
 
 // [EOF]