diff options
Diffstat (limited to 'web/api/web_api_v1.c')
-rw-r--r-- | web/api/web_api_v1.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/web/api/web_api_v1.c b/web/api/web_api_v1.c index b58bb9b88b..87ff201f44 100644 --- a/web/api/web_api_v1.c +++ b/web/api/web_api_v1.c @@ -721,10 +721,6 @@ inline int web_client_api_request_v1_data(RRDHOST *host, struct web_client *w, c if (likely(context_param_list && context_param_list->rd)) // Just set the first one st = context_param_list->rd->rrdset; - else { - if (!chart_label_key && !chart_labels_filter) - sql_build_context_param_list(owa, &context_param_list, host, context, NULL); - } } else { st = rrdset_find(host, chart); @@ -732,8 +728,6 @@ inline int web_client_api_request_v1_data(RRDHOST *host, struct web_client *w, c st = rrdset_find_byname(host, chart); if (likely(st)) st->last_accessed_time = now_realtime_sec(); - else - sql_build_context_param_list(owa, &context_param_list, host, NULL, chart); } if (!st) { |