From 19a65f6c3f41b6a62513232fab4ce24d95d0b036 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 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 '); } -- 2.39.5