Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-11-23 12:04:14 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2018-11-23 12:04:14 +0300
commit9de3e67e77dd6ad2cffd4d29aae1223fdd7c826c (patch)
tree9b6eb4ca57ed2b2fb4d6438c062723eb2c088f87 /lib
parentef524d3ac459726c71896c27ac9788cd52bba3ca (diff)
Use the actual query constructed
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib')
-rw-r--r--lib/Db/MailAccountMapper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Db/MailAccountMapper.php b/lib/Db/MailAccountMapper.php
index 90c5d26dc..4fbe7f486 100644
--- a/lib/Db/MailAccountMapper.php
+++ b/lib/Db/MailAccountMapper.php
@@ -51,7 +51,7 @@ class MailAccountMapper extends QBMapper {
->where($qb->expr()->eq('user_id', $qb->createNamedParameter($userId)))
->andWhere($qb->expr()->eq('id', $qb->createNamedParameter($accountId)));
- return $this->findEntity($qb);
+ return $this->findEntity($query);
}
/**