From 9ccdbd93490b86bf7e63ecc40e97a8ecfd82a9d9 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 28 Apr 2020 05:55:17 +0000 Subject: [PATCH] Added forgotten DBA::close --- src/Core/Worker.php | 1 + src/Model/User.php | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Core/Worker.php b/src/Core/Worker.php index 6fb8bd40f..24febf3bc 100644 --- a/src/Core/Worker.php +++ b/src/Core/Worker.php @@ -614,6 +614,7 @@ class Worker } } } + DBA::close($entries); } /** diff --git a/src/Model/User.php b/src/Model/User.php index be71bcf64..89574e760 100644 --- a/src/Model/User.php +++ b/src/Model/User.php @@ -1298,6 +1298,7 @@ class User $statistics['active_users_monthly']++; } } + DBA::close($userStmt); return $statistics; }