]> source.dussan.org Git - nextcloud-server.git/commitdiff
Backport PR #2622
authorroot <kondou@ts.unde.re>
Sat, 30 Mar 2013 22:49:55 +0000 (23:49 +0100)
committerArthur Schiwon <blizzz@owncloud.com>
Tue, 2 Apr 2013 19:13:09 +0000 (21:13 +0200)
core/ajax/update.php

index 3154c2e305c27752c01f54755c3784e8e6a1f938..d5588b7c85228c90ed0a19efba534c7c18a58ee2 100644 (file)
@@ -38,8 +38,8 @@ if (OC::checkUpgrade(false)) {
 function __doFileCacheUpgrade($watcher) {
        try {
                $query = \OC_DB::prepare('
-                       SELECT DISTINCT user
-                       FROM`*PREFIX*fscache`
+                       SELECT DISTINCT `user`
+                       FROM `*PREFIX*fscache`
                ');
                $result = $query->execute();
        } catch (\Exception $e) {