Merge pull request #806 from TheSerapher/issue-804

[FIX] Propagate dashboard when API disabled
This commit is contained in:
Sebastian Grewe 2013-10-31 00:07:13 -07:00
commit 3b2560bf62

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