Change LIMIT in DB query respectively remove where not necessary
This commit is contained in:
parent
18554059a4
commit
5fc276602a
|
@ -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…
Reference in New Issue