]> git.mxchange.org Git - friendica.git/commitdiff
Added forgotten DBA::close
authorMichael <heluecht@pirati.ca>
Tue, 28 Apr 2020 05:55:17 +0000 (05:55 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 28 Apr 2020 05:55:17 +0000 (05:55 +0000)
src/Core/Worker.php
src/Model/User.php

index 6fb8bd40ff7d555031e7c03a5df66e14bcd8a373..24febf3bc4cc74ae47e603e21a4eeb53f2b01dbf 100644 (file)
@@ -614,6 +614,7 @@ class Worker
                                }
                        }
                }
+               DBA::close($entries);
        }
 
        /**
index be71bcf64589a61c4d10fee982ae5e78fd6082d9..89574e76094fc5857e6651badb36efaf3d7a969f 100644 (file)
@@ -1298,6 +1298,7 @@ class User
                                $statistics['active_users_monthly']++;
                        }
                }
+               DBA::close($userStmt);
 
                return $statistics;
        }