From 5fc276602aa2aaf575776dbbb6b7b8626357cd8a Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Mon, 25 Mar 2013 17:54:10 +0100 Subject: [PATCH] Change LIMIT in DB query respectively remove where not necessary --- lib/files/cache/upgrade.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/files/cache/upgrade.php b/lib/files/cache/upgrade.php index 47184615b46..ab64a65a285 100644 --- a/lib/files/cache/upgrade.php +++ b/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 '); } -- 2.39.5