Index: sites/all/modules/scan_api/scan_api.module =================================================================== --- sites/all/modules/scan_api/scan_api.module (revision 34361) +++ sites/all/modules/scan_api/scan_api.module (working copy) @@ -1080,6 +1080,7 @@ ->find($query) ->timeout(scan_api_get_mongo_timeout()) ->count(); + /* if ($blocked_url_ids = _scan_api_get_blocked_urls($client_id)) { $query['url_id'] = array('$in' => $blocked_url_ids); $count -= $cursor @@ -1087,6 +1088,7 @@ ->timeout(scan_api_get_mongo_timeout()) ->count(); } + */ return $count; } catch (MongoCursorTimeoutException $e) {