aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2013-10-28 14:53:59 -0700
committerNils Adermann <naderman@naderman.de>2013-10-28 14:53:59 -0700
commited94e3c5761cc188fc6e1e7943a888d30bd0e7b9 (patch)
treed7027a4f3c4e20fd51f9505f3e874e28dcc96b66 /phpBB/includes/functions.php
parent0ffc3395c5d9a91d21530b5f431b0e6dcca1c88f (diff)
parent616574d7ab15ea8c43a2c20d6871702d42c3696d (diff)
downloadforums-ed94e3c5761cc188fc6e1e7943a888d30bd0e7b9.tar
forums-ed94e3c5761cc188fc6e1e7943a888d30bd0e7b9.tar.gz
forums-ed94e3c5761cc188fc6e1e7943a888d30bd0e7b9.tar.bz2
forums-ed94e3c5761cc188fc6e1e7943a888d30bd0e7b9.tar.xz
forums-ed94e3c5761cc188fc6e1e7943a888d30bd0e7b9.zip
Merge pull request #1784 from nickvergessen/ticket/11924
[Ticket/11924] Add a script to export the events in wiki format
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 ad5e3c05ce..510f46fcb4 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -5597,14 +5597,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');
}