X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Faction-task.php;h=f2fae63d27e522a5462d1c3b05354296344ee701;hb=b52976057a73d26d63b6c98a4fc9efb3e07f40e7;hp=1716b20c47d552fdaa1e7c13bb862eeddf527655;hpb=82cbb1b75e0091b6333fefd045903329b234b9fb;p=mailer.git diff --git a/inc/modules/admin/action-task.php b/inc/modules/admin/action-task.php index 1716b20c47..f2fae63d27 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 - 2011 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 * @@ -43,16 +43,11 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { // Add description as navigation point addYouAreHereLink('admin', __FILE__); -if (!isExtensionActive('task')) { - displayMessage(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--}'); }