mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
[ticket/16649] Upgrade to Symfony 5
PHPBB3-16649
This commit is contained in:
@@ -484,7 +484,7 @@ class acp_main
|
||||
* @event core.acp_main_notice
|
||||
* @since 3.1.0-RC3
|
||||
*/
|
||||
$phpbb_dispatcher->dispatch('core.acp_main_notice');
|
||||
$phpbb_dispatcher->trigger_event('core.acp_main_notice');
|
||||
|
||||
// Get forum statistics
|
||||
$total_posts = $config['num_posts'];
|
||||
|
@@ -84,7 +84,7 @@ class acp_storage
|
||||
* @event core.acp_storage_load
|
||||
* @since 3.3.0-a1
|
||||
*/
|
||||
$phpbb_dispatcher->dispatch('core.acp_storage_load');
|
||||
$phpbb_dispatcher->trigger_event('core.acp_storage_load');
|
||||
|
||||
$this->overview($id, $mode);
|
||||
}
|
||||
|
@@ -4189,7 +4189,7 @@ function garbage_collection()
|
||||
* @event core.garbage_collection
|
||||
* @since 3.1.0-a1
|
||||
*/
|
||||
$phpbb_dispatcher->dispatch('core.garbage_collection');
|
||||
$phpbb_dispatcher->trigger_event('core.garbage_collection');
|
||||
}
|
||||
|
||||
// Unload cache, must be done before the DB connection if closed
|
||||
|
@@ -1152,7 +1152,7 @@ function display_custom_bbcodes()
|
||||
* @event core.display_custom_bbcodes
|
||||
* @since 3.1.0-a1
|
||||
*/
|
||||
$phpbb_dispatcher->dispatch('core.display_custom_bbcodes');
|
||||
$phpbb_dispatcher->trigger_event('core.display_custom_bbcodes');
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -262,7 +262,7 @@ class ucp_main
|
||||
* @event core.ucp_main_subscribed_post_data
|
||||
* @since 3.1.10-RC1
|
||||
*/
|
||||
$phpbb_dispatcher->dispatch('core.ucp_main_subscribed_post_data');
|
||||
$phpbb_dispatcher->trigger_event('core.ucp_main_subscribed_post_data');
|
||||
|
||||
if ($unwatch)
|
||||
{
|
||||
|
Reference in New Issue
Block a user