mirror of
https://github.com/nextcloud/server.git
synced 2026-04-20 22:00:39 -04:00
Add missing backticks.
Especially at user without "" PostgreSQL likes to fail.
This commit is contained in:
parent
5e74ec26a8
commit
7f74f08808
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue