From f6056aced195956b9fe94d8e3e0772aff51384d4 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Thu, 31 Oct 2013 08:02:26 +0100 Subject: [PATCH] [FIX] Propagate dashboard when API disabled Fixes #804 --- public/include/pages/api/getdashboarddata.inc.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/public/include/pages/api/getdashboarddata.inc.php b/public/include/pages/api/getdashboarddata.inc.php index f4e48fbd..7942092c 100644 --- a/public/include/pages/api/getdashboarddata.inc.php +++ b/public/include/pages/api/getdashboarddata.inc.php @@ -3,9 +3,6 @@ // Make sure we are called from index.php if (!defined('SECURITY')) die('Hacking attempt'); -// Check if the API is activated -$api->isActive(); - // Check user token and access level permissions $user_id = $api->checkAccess($user->checkApiKey($_REQUEST['api_key']), @$_REQUEST['id']);