mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 22:40:39 +02:00
[ticket/14168] Unset prototype classes after use
PHPBB3-14168
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user