aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-10-16 16:32:40 +0200
committerJoas Schilling <nickvergessen@gmx.de>2013-10-16 16:32:40 +0200
commit3c9a8a3788f4dda1ef16430f16d6392a9e6f8dad (patch)
tree4f20a28e18982eb2b40e5258f09b124c11f11ef2 /phpBB/includes/functions.php
parente04a06ab94ed5057ae050c48a14eba3b5ee99459 (diff)
downloadforums-3c9a8a3788f4dda1ef16430f16d6392a9e6f8dad.tar
forums-3c9a8a3788f4dda1ef16430f16d6392a9e6f8dad.tar.gz
forums-3c9a8a3788f4dda1ef16430f16d6392a9e6f8dad.tar.bz2
forums-3c9a8a3788f4dda1ef16430f16d6392a9e6f8dad.tar.xz
forums-3c9a8a3788f4dda1ef16430f16d6392a9e6f8dad.zip
[ticket/11924] Fix some minor issues with the php event docs
PHPBB3-11924
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 947e29ea02..a077dd4078 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -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');
}