From e0881d0d5b43a8c3461bb630f47fcec407759dde Mon Sep 17 00:00:00 2001 From: Git'Fellow <12234510+solracsf@users.noreply.github.com> Date: Fri, 20 Oct 2023 15:25:46 +0200 Subject: [PATCH] Close the stream Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> --- apps/files_trashbin/lib/Trashbin.php | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/files_trashbin/lib/Trashbin.php b/apps/files_trashbin/lib/Trashbin.php index 90f74e51e8167..81560781f6ca8 100644 --- a/apps/files_trashbin/lib/Trashbin.php +++ b/apps/files_trashbin/lib/Trashbin.php @@ -1119,6 +1119,7 @@ public static function isEmpty($user) { return false; } } + closedir($dh); } return true; }