summaryrefslogtreecommitdiffstats
path: root/lib/files/cache/legacy.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/files/cache/legacy.php')
-rw-r--r--lib/files/cache/legacy.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/files/cache/legacy.php b/lib/files/cache/legacy.php
index b8e2548639b..ab8ae6dfadd 100644
--- a/lib/files/cache/legacy.php
+++ b/lib/files/cache/legacy.php
@@ -45,7 +45,7 @@ class Legacy {
return $this->cacheHasItems;
}
try {
- $query = \OC_DB::prepare('SELECT `id` FROM `*PREFIX*fscache` WHERE `user` = ? LIMIT 1');
+ $query = \OC_DB::prepare('SELECT `id` FROM `*PREFIX*fscache` WHERE `user` = ?',1);
} catch (\Exception $e) {
$this->cacheHasItems = false;
return false;