From 4333b8fe03d50ae9cfd5dfb5c656cc48302dc072 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 27 Jul 2017 15:54:46 -0600 Subject: Empty resource id's are valid when we search for resources. --- common/store.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/common/store.cpp b/common/store.cpp index 33d7b51..b0aac4c 100644 --- a/common/store.cpp +++ b/common/store.cpp @@ -49,12 +49,6 @@ static bool sanityCheckQuery(const Sink::Query &query) return false; } } - for (const auto &id : query.getResourceFilter().ids) { - if (id.isEmpty()) { - SinkError() << "Empty resourceid in query."; - return false; - } - } return true; } -- cgit v1.2.3