X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Faction-task.php;h=f4267c41b08335d2907710e3558a9b902a2e7e28;hb=f99fabc783c022ddc5ca1f3e9c0d3ab89170dcf5;hp=0177bf1a87db1fedcf9c5e122255c79f4a646a23;hpb=c3b4eaf29946349ff058691db2dcb615a5379bb2;p=mailer.git diff --git a/inc/modules/admin/action-task.php b/inc/modules/admin/action-task.php index 0177bf1a87..f4267c41b0 100644 --- a/inc/modules/admin/action-task.php +++ b/inc/modules/admin/action-task.php @@ -17,7 +17,7 @@ * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * * Copyright (c) 2009 - 2011 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * 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 * @@ -43,18 +43,13 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { // Add description as navigation point addYouAreHereLink('admin', __FILE__); -if (!isExtensionActive('task')) { - loadTemplate('admin_settings_saved', false, generateExtensionInactiveNotInstalledMessage('task')); - return; -} // END - if - // 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]