diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2012-08-05 16:51:51 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2012-08-05 16:51:51 +0200 |
commit | e926ec9934348c1e2e556782edbb47630c58facc (patch) | |
tree | afa2c1e5bfba00d6932ae872c172b3704bebaf40 /phpBB/includes | |
parent | 997075a008b594f62306184aeb9105d5180fdd6d (diff) | |
download | forums-e926ec9934348c1e2e556782edbb47630c58facc.tar forums-e926ec9934348c1e2e556782edbb47630c58facc.tar.gz forums-e926ec9934348c1e2e556782edbb47630c58facc.tar.bz2 forums-e926ec9934348c1e2e556782edbb47630c58facc.tar.xz forums-e926ec9934348c1e2e556782edbb47630c58facc.zip |
[feature/php-events] Add docs for core.garbage_collection
PHPBB3-9550
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/functions.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 43bdb757e5..949b66072b 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -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 |