aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2012-08-21 13:12:50 +0200
committerJoas Schilling <nickvergessen@gmx.de>2012-08-21 13:12:50 +0200
commitcf095dd393a6540d092c6308bc03aab824376562 (patch)
tree37cbb7b48920c58ad8b91f7013be669bf1e8ed75 /phpBB
parent0bb4af90a4d9a1fedb254a1b6e9702726cfcf091 (diff)
downloadforums-cf095dd393a6540d092c6308bc03aab824376562.tar
forums-cf095dd393a6540d092c6308bc03aab824376562.tar.gz
forums-cf095dd393a6540d092c6308bc03aab824376562.tar.bz2
forums-cf095dd393a6540d092c6308bc03aab824376562.tar.xz
forums-cf095dd393a6540d092c6308bc03aab824376562.zip
[ticket/10714] Enable event core.get_logs_modify_entry_data
PHPBB3-10714
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/log/log.php12
1 files changed, 8 insertions, 4 deletions
diff --git a/phpBB/includes/log/log.php b/phpBB/includes/log/log.php
index 92730aa7da..c95b334cad 100644
--- a/phpBB/includes/log/log.php
+++ b/phpBB/includes/log/log.php
@@ -402,14 +402,18 @@ class phpbb_log implements phpbb_log_interface
);
/**
- * @todo: enable when events are merged
+ * Modify the entry's data before it is returned
*
+ * @event core.get_logs_modify_entry_data
+ * @var array row Entry data from the database
+ * @var array log_entry_data Entry's data which is returned
+ * @since 3.1-A1
+ */
if ($phpbb_dispatcher != null)
{
- $vars = array('log_entry_data', 'row');
- extract($phpbb_dispatcher->trigger_event('core.get_logs_entry_data', $vars, $vars));
+ $vars = array('row', 'log_entry_data');
+ extract($phpbb_dispatcher->trigger_event('core.get_logs_modify_entry_data', $vars));
}
- */
$log[$i] = $log_entry_data;