Code: Select all
// In phpBB 3.1.x i want to have logging in a class to be able to control it
// For now, we need a quite hakish approach to circumvent logging for some actions
// @todo implement cleanly
if (!empty($GLOBALS['skip_add_log']))
I also added potential event listener, which need to be un-commented when the event stuff is merged.
Ticket: http://tracker.phpbb.com/browse/PHPBB3-10714
PR: https://github.com/phpbb/phpbb3/pull/631