summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/ajax/update.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/ajax/update.php b/core/ajax/update.php
index e40d0def4e4..31b8c0dbb65 100644
--- a/core/ajax/update.php
+++ b/core/ajax/update.php
@@ -37,8 +37,8 @@ if (OC::checkUpgrade(false)) {
*/
function __doFileCacheUpgrade($watcher) {
$query = \OC_DB::prepare('
- SELECT DISTINCT user
- FROM`*PREFIX*fscache`
+ SELECT DISTINCT `user`
+ FROM `*PREFIX*fscache`
');
$result = $query->execute();
$users = $result->fetchAll();