diff options
Diffstat (limited to 'apps/files/lib')
-rw-r--r-- | apps/files/lib/BackgroundJob/ScanFiles.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/lib/BackgroundJob/ScanFiles.php b/apps/files/lib/BackgroundJob/ScanFiles.php index 42beb70aaf5..b7e6e8db10e 100644 --- a/apps/files/lib/BackgroundJob/ScanFiles.php +++ b/apps/files/lib/BackgroundJob/ScanFiles.php @@ -70,7 +70,7 @@ class ScanFiles extends TimedJob { * @return string|false */ private function getUserToScan() { - if ($this->connection->getShardDefinition("filecache")) { + if ($this->connection->getShardDefinition('filecache')) { // for sharded filecache, the "LIMIT" from the normal query doesn't work // first we try it with a "LEFT JOIN" on mounts, this is fast, but might return a storage that isn't mounted. @@ -82,7 +82,7 @@ class ScanFiles extends TimedJob { ->where($query->expr()->lt('f.size', $query->createNamedParameter(0, IQueryBuilder::PARAM_INT))) ->andWhere($query->expr()->gt('f.parent', $query->createNamedParameter(-1, IQueryBuilder::PARAM_INT))) ->setMaxResults(10) - ->groupBy("f.storage") + ->groupBy('f.storage') ->runAcrossAllShards(); $result = $query->executeQuery(); |