mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 10:44:20 +02:00
[ticket/16314] Improve handling of page_footer output for controllers
Moved the common template output to controller helper and added garbage_collection handling to kernel_terminate_subscriber. PHPBB3-16314
This commit is contained in:
@@ -25,10 +25,12 @@ class kernel_terminate_subscriber implements EventSubscriberInterface
|
||||
* primarily cleanup stuff.
|
||||
*
|
||||
* @param PostResponseEvent $event
|
||||
* @return null
|
||||
* @return void
|
||||
*/
|
||||
public function on_kernel_terminate(PostResponseEvent $event)
|
||||
{
|
||||
garbage_collection();
|
||||
|
||||
exit_handler();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user