diff options
author | Robin Appelman <robin@icewind.nl> | 2019-12-03 15:20:54 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2019-12-03 15:20:54 +0100 |
commit | f9e5b33c2bdd5ecf2d5087728f5ff85e6822f633 (patch) | |
tree | f1b169dc1bb588884b55d75ec424962443e0b3b9 /lib/private/Files | |
parent | c62637da8b42ec184c252e3152bb033bd8f11561 (diff) | |
download | nextcloud-server-f9e5b33c2bdd5ecf2d5087728f5ff85e6822f633.tar.gz nextcloud-server-f9e5b33c2bdd5ecf2d5087728f5ff85e6822f633.zip |
remove old 'owner' filter
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Files')
-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]; |