aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_admin.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r--phpBB/includes/functions_admin.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php
index aafac876a5..228de95996 100644
--- a/phpBB/includes/functions_admin.php
+++ b/phpBB/includes/functions_admin.php
@@ -1125,6 +1125,7 @@ function delete_attachments($mode, $ids, $resync = true)
$attachment_delete = $phpbb_container->get('attachment.delete');
$num_deleted = $attachment_delete->delete($mode, $ids, $resync);
+ unset($attachment_delete);
return $num_deleted;
}