diff options
author | brunoais <brunoaiss@gmail.com> | 2014-12-03 16:04:32 +0000 |
---|---|---|
committer | brunoais <brunoaiss@gmail.com> | 2014-12-03 16:04:32 +0000 |
commit | b7f83b2cfc384b2a734ab720c88596cb1606bb43 (patch) | |
tree | 94a7a0c86421b123296f812d47b226869e7ddb29 /phpBB | |
parent | 70483d60886ad416c3dd40f29e1128e031322e1e (diff) | |
download | forums-b7f83b2cfc384b2a734ab720c88596cb1606bb43.tar forums-b7f83b2cfc384b2a734ab720c88596cb1606bb43.tar.gz forums-b7f83b2cfc384b2a734ab720c88596cb1606bb43.tar.bz2 forums-b7f83b2cfc384b2a734ab720c88596cb1606bb43.tar.xz forums-b7f83b2cfc384b2a734ab720c88596cb1606bb43.zip |
[ticket/13148] Creating a final way to modify edit logs output
PHPBB3-13148
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/phpbb/log/log.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/phpBB/phpbb/log/log.php b/phpBB/phpbb/log/log.php index 2af8b50b54..23e39ba71a 100644 --- a/phpBB/phpbb/log/log.php +++ b/phpBB/phpbb/log/log.php @@ -708,6 +708,20 @@ class log implements \phpbb\log\log_interface } } + /** + * Allow modifying or execute extra final filter on log entries + * + * @event core.get_logs_after + * @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.3-RC1 + */ + $vars = array('log', 'topic_id_list', 'reportee_id_list'); + extract($this->dispatcher->trigger_event('core.get_logs_after', compact($vars))); + return $log; } |