Add missing backticks.

Especially at user without "" PostgreSQL likes to fail.
This commit is contained in:
root 2013-03-30 23:49:55 +01:00
parent 5e74ec26a8
commit 7f74f08808

View file

@ -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();