aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2019-12-03 15:20:54 +0100
committerRobin Appelman <robin@icewind.nl>2019-12-03 15:20:54 +0100
commitf9e5b33c2bdd5ecf2d5087728f5ff85e6822f633 (patch)
treef1b169dc1bb588884b55d75ec424962443e0b3b9 /lib/private/Files
parentc62637da8b42ec184c252e3152bb033bd8f11561 (diff)
downloadnextcloud-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.php5
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];