X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Foverview-inc.php;h=d823fd4676e2393291a5e4d31139c963f70a04d8;hb=45465772fed386cbfa0c1df9677cbd9134ac5819;hp=a9a81337c8330f4e1f3f7ec590b4301548e72758;hpb=332e57f367fb6a7a3dd598cbe454c35514f2c426;p=mailer.git diff --git a/inc/modules/admin/overview-inc.php b/inc/modules/admin/overview-inc.php index a9a81337c8..d823fd4676 100644 --- a/inc/modules/admin/overview-inc.php +++ b/inc/modules/admin/overview-inc.php @@ -38,8 +38,6 @@ if ((!defined('__SECURITY')) || (!IS_ADMIN())) { } function OUTPUT_STANDARD_OVERVIEW(&$result_tasks) { - global $cacheArray; - // First check for solved and not assigned tasks and assign them to current admin SQL_QUERY_ESC("UPDATE `{!_MYSQL_PREFIX!}_task_system` SET assigned_admin='%s' WHERE assigned_admin < 1 AND status != 'NEW'", array(GET_CURRENT_ADMIN_ID()), __FILE__, __LINE__); @@ -84,9 +82,9 @@ function OUTPUT_STANDARD_OVERVIEW(&$result_tasks) { EXTENSION_UPDATE($ext_name, $ext_ver); } // END - if - if (isset($cacheArray['active_extensions'][$ext_name])) { + if (isset($GLOBALS['cache_array']['active_extensions'][$ext_name])) { // Maybe we want to keept the current extension active? - if (($cacheArray['active_extensions'][$ext_name] == "Y") && (!EXT_IS_ACTIVE($ext_name))) { + if (($GLOBALS['cache_array']['active_extensions'][$ext_name] == "Y") && (!EXT_IS_ACTIVE($ext_name))) { // Reactivate this extension! ACTIVATE_EXTENSION($ext_name); } // END - if