X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Faction-task.php;h=106ade168a08da0dc43a930c7d403ad0d90282db;hb=754861aaacc51a871b8b91f382c3e0b57726f692;hp=dfa92bb6fe0e8d457fc157ca7f0a1bf3b25b1927;hpb=c8d76610eb94093d4eed4fcd8a6cb72e74c8f6d8;p=mailer.git diff --git a/inc/modules/admin/action-task.php b/inc/modules/admin/action-task.php index dfa92bb6fe..106ade168a 100644 --- a/inc/modules/admin/action-task.php +++ b/inc/modules/admin/action-task.php @@ -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 - 2013 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,20 +41,15 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { } // END - if // Add description as navigation point -addMenuDescription('admin', __FILE__); - -if (!isExtensionActive('task')) { - loadTemplate('admin_settings_saved', false, generateExtensionInactiveNotInstalledMessage('task')); - return; -} // END - if +addYouAreHereLink('admin', __FILE__); // Load the include file -$inc = sprintf("inc/modules/admin/what-%s.php", getWhat()); +$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]