diff options
author | LaxSlash <copperhead14228@gmail.com> | 2016-01-08 02:17:41 -0500 |
---|---|---|
committer | LaxSlash <copperhead14228@gmail.com> | 2016-01-08 02:17:41 -0500 |
commit | 5f052ec8dced757047f9cdf40c85f9d92d698410 (patch) | |
tree | 65c5da0248a2d31d1e6941350d06be0dfcedcf61 /phpBB/viewtopic.php | |
parent | e030f0ca0933957cc9c7156d43263d881ffc7895 (diff) | |
download | forums-5f052ec8dced757047f9cdf40c85f9d92d698410.tar forums-5f052ec8dced757047f9cdf40c85f9d92d698410.tar.gz forums-5f052ec8dced757047f9cdf40c85f9d92d698410.tar.bz2 forums-5f052ec8dced757047f9cdf40c85f9d92d698410.tar.xz forums-5f052ec8dced757047f9cdf40c85f9d92d698410.zip |
[ticket/14395] Add event core.viewtopic_add_quickmod_option_after
Added an event before the function phpbb_add_quickmod_option is called in
the viewtopic.php file. The function is run before any event can be called to
modify ... meaning that any modifications done to this array
will not affect the options displayed to the user on the viewtopic page itself.
This event serves two purposes - one, it is easier to add new quickmod options,
and two, it allows an extenstion developer to check additional permissions and
apply further authentication for the display of the quickmod options.
PHPBB3-14395
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r-- | phpBB/viewtopic.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index 02e60fb8ff..682ed91b36 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -592,7 +592,7 @@ $quickmod_array = array( * Event to modify data in the quickmod_array before it gets sent to the * phpbb_add_quickmod_option function. * -* @event core.viewtopic_add_quickmod_option_before +* @event core.viewtopic_add_quickmod_option_after * @var int forum_id Forum ID * @var int post_id Post ID * @var array quickmod_array Array with quick moderation options data |