mirror of
https://github.com/nextcloud/server.git
synced 2024-08-11 02:11:21 +02:00
PostreSQL compatibility, fixes #2666
This commit is contained in:
parent
40627a05a8
commit
e75406e712
2
lib/files/cache/legacy.php
vendored
2
lib/files/cache/legacy.php
vendored
@ -97,7 +97,7 @@ class Legacy {
|
||||
$relativePath = '';
|
||||
}
|
||||
if(is_null($query)){
|
||||
$query = \OC_DB::prepare('SELECT `propertyvalue` FROM `*PREFIX*properties` WHERE `userid` = ? AND propertypath = ? AND propertyname = "{DAV:}getetag"');
|
||||
$query = \OC_DB::prepare('SELECT `propertyvalue` FROM `*PREFIX*properties` WHERE `userid` = ? AND `propertypath` = ? AND `propertyname` = \'{DAV:}getetag\'');
|
||||
}
|
||||
$result = $query->execute(array($user, '/' . $relativePath));
|
||||
if ($row = $result->fetchRow()) {
|
||||
|
Loading…
Reference in New Issue
Block a user