Browse Source

remove old 'owner' filter

Signed-off-by: Robin Appelman <robin@icewind.nl>
tags/v18.0.0beta1
Robin Appelman 4 years ago
parent
commit
f9e5b33c2b
No account linked to committer's email address
1 changed files with 0 additions and 5 deletions
  1. 0
    5
      lib/private/Files/Cache/QuerySearchHelper.php

+ 0
- 5
lib/private/Files/Cache/QuerySearchHelper.php View File

@@ -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];

Loading…
Cancel
Save