diff --git a/lib/files/cache/upgrade.php b/lib/files/cache/upgrade.php index 8cdee7167ea..07ae3ab8d84 100644 --- a/lib/files/cache/upgrade.php +++ b/lib/files/cache/upgrade.php @@ -169,7 +169,7 @@ class Upgrade { WHERE `propertyname` = \'{DAV:}getetag\' AND `propertypath` = ? AND `userid` = ? - LIMIT 1'); + ', 1); } $result = $queryGetETag->execute(array($legacyPath, $user)); $etag = $result->fetchOne(); @@ -181,7 +181,6 @@ class Upgrade { WHERE `propertyname` = \'{DAV:}getetag\' AND `propertypath` = ? AND `userid` = ? - LIMIT 1 '); }