summaryrefslogtreecommitdiffstats
path: root/apps/workflowengine/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-10-17 15:20:13 +0200
committerJoas Schilling <coding@schilljs.com>2016-10-17 15:43:21 +0200
commit4d6ec43402b3521da004ecf045de0146229cc5f8 (patch)
tree7bb12f813bb74ce37051d61a03e4ed79ebbddade /apps/workflowengine/lib
parent6375790263c5fadc72e48c9486b06b28d9e805cb (diff)
downloadnextcloud-server-4d6ec43402b3521da004ecf045de0146229cc5f8.tar.gz
nextcloud-server-4d6ec43402b3521da004ecf045de0146229cc5f8.zip
Do not reset the list after adding cached entries
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/workflowengine/lib')
-rw-r--r--apps/workflowengine/lib/Manager.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/workflowengine/lib/Manager.php b/apps/workflowengine/lib/Manager.php
index 9140ef73ea7..e93498b5075 100644
--- a/apps/workflowengine/lib/Manager.php
+++ b/apps/workflowengine/lib/Manager.php
@@ -300,7 +300,6 @@ class Manager implements IManager {
->where($query->expr()->in('id', $query->createNamedParameter($checkIds, IQueryBuilder::PARAM_INT_ARRAY)));
$result = $query->execute();
- $checks = [];
while ($row = $result->fetch()) {
$this->checks[(int) $row['id']] = $row;
$checks[(int) $row['id']] = $row;