mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/11924] Fix some minor issues with the php event docs
PHPBB3-11924
This commit is contained in:
@@ -5609,14 +5609,14 @@ function garbage_collection()
|
||||
global $cache, $db;
|
||||
global $phpbb_dispatcher;
|
||||
|
||||
/**
|
||||
* Unload some objects, to free some memory, before we finish our task
|
||||
*
|
||||
* @event core.garbage_collection
|
||||
* @since 3.1-A1
|
||||
*/
|
||||
if (!empty($phpbb_dispatcher))
|
||||
{
|
||||
/**
|
||||
* Unload some objects, to free some memory, before we finish our task
|
||||
*
|
||||
* @event core.garbage_collection
|
||||
* @since 3.1-A1
|
||||
*/
|
||||
$phpbb_dispatcher->dispatch('core.garbage_collection');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user