[feature/php-events] Add docs for core.garbage_collection

PHPBB3-9550
This commit is contained in:
Joas Schilling 2012-08-05 16:51:51 +02:00
parent 997075a008
commit e926ec9934

View file

@ -5187,6 +5187,12 @@ 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
*/
$phpbb_dispatcher->dispatch('core.garbage_collection');
// Unload cache, must be done before the DB connection if closed