[FIX] Propagate dashboard when API disabled

Fixes #804
This commit is contained in:
Sebastian Grewe 2013-10-31 08:02:26 +01:00
parent e1ffce6a38
commit f6056aced1

View File

@ -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']);