From 4d6ec43402b3521da004ecf045de0146229cc5f8 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 17 Oct 2016 15:20:13 +0200 Subject: Do not reset the list after adding cached entries Signed-off-by: Joas Schilling --- apps/workflowengine/lib/Manager.php | 1 - 1 file changed, 1 deletion(-) (limited to 'apps/workflowengine/lib') 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; -- cgit v1.2.3