aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2012-08-21 13:19:13 +0200
committerJoas Schilling <nickvergessen@gmx.de>2012-08-21 13:19:13 +0200
commit701052481542cad1ab46fb5e48cf5bbd139030b8 (patch)
tree3f8b0edeba1b846d2419b08549c9b94a4fda4d57
parentcf095dd393a6540d092c6308bc03aab824376562 (diff)
downloadforums-701052481542cad1ab46fb5e48cf5bbd139030b8.tar
forums-701052481542cad1ab46fb5e48cf5bbd139030b8.tar.gz
forums-701052481542cad1ab46fb5e48cf5bbd139030b8.tar.bz2
forums-701052481542cad1ab46fb5e48cf5bbd139030b8.tar.xz
forums-701052481542cad1ab46fb5e48cf5bbd139030b8.zip
[ticket/10714] Enable event core.get_logs_get_additional_data
PHPBB3-10714
-rw-r--r--phpBB/includes/log/log.php13
1 files changed, 10 insertions, 3 deletions
diff --git a/phpBB/includes/log/log.php b/phpBB/includes/log/log.php
index c95b334cad..ef74f6aaf4 100644
--- a/phpBB/includes/log/log.php
+++ b/phpBB/includes/log/log.php
@@ -459,14 +459,21 @@ class phpbb_log implements phpbb_log_interface
$db->sql_freeresult($result);
/**
- * @todo: enable when events are merged
+ * Get some additional data after we got all log entries
*
+ * @event core.get_logs_get_additional_data
+ * @var array log Array with all our log entries
+ * @var array topic_id_list Array of topic ids, for which we
+ * get the permission data
+ * @var array reportee_id_list Array of additional user IDs we
+ * get the username strings for
+ * @since 3.1-A1
+ */
if ($phpbb_dispatcher != null)
{
$vars = array('log', 'topic_id_list', 'reportee_id_list');
- extract($phpbb_dispatcher->trigger_event('core.get_logs_additional_data', $vars, $vars));
+ extract($phpbb_dispatcher->trigger_event('core.get_logs_get_additional_data', $vars));
}
- */
if (sizeof($topic_id_list))
{