diff options
-rw-r--r-- | lib/private/Files/Cache/QuerySearchHelper.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/private/Files/Cache/QuerySearchHelper.php b/lib/private/Files/Cache/QuerySearchHelper.php index a80156bc853..47380b72ffa 100644 --- a/lib/private/Files/Cache/QuerySearchHelper.php +++ b/lib/private/Files/Cache/QuerySearchHelper.php @@ -125,11 +125,6 @@ class QuerySearchHelper { private function searchComparisonToDBExpr(IQueryBuilder $builder, ISearchComparison $comparison, array $operatorMap) { $this->validateComparison($comparison); - // "owner" search is done by limiting the storages queries and should not be put in the sql - if ($comparison->getField() === 'owner') { - return null; - } - list($field, $value, $type) = $this->getOperatorFieldAndValue($comparison); if (isset($operatorMap[$type])) { $queryOperator = $operatorMap[$type]; |