Change LIMIT in DB query respectively remove where not necessary

remotes/origin/stable6
Arthur Schiwon 13 years ago
parent 18554059a4
commit 5fc276602a
  1. 3
      lib/files/cache/upgrade.php

@ -176,7 +176,7 @@ class Upgrade {
WHERE `propertyname` = \'{DAV:}getetag\'
AND `propertypath` = ?
AND `userid` = ?
LIMIT 1');
', 1);
}
$result = $queryGetETag->execute(array($legacyPath, $user));
$etag = $result->fetchOne();
@ -188,7 +188,6 @@ class Upgrade {
WHERE `propertyname` = \'{DAV:}getetag\'
AND `propertypath` = ?
AND `userid` = ?
LIMIT 1
');
}

Loading…
Cancel
Save