From 8707a1c13557292d63ebd35678c375b31bc6cbb0 Mon Sep 17 00:00:00 2001 From: "privet.fun" Date: Sat, 7 Oct 2023 13:16:24 -0700 Subject: [PATCH] Better comments --- privet/ailabs/includes/AIController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/privet/ailabs/includes/AIController.php b/privet/ailabs/includes/AIController.php index 948eac1..0a3ab68 100644 --- a/privet/ailabs/includes/AIController.php +++ b/privet/ailabs/includes/AIController.php @@ -424,7 +424,8 @@ class AIController if ($dispatchEvent) { $dispatcher = $this->phpbb_container->get('dispatcher'); - // Same exact code as in https://github.com/phpbb/phpbb/blob/master/phpBB/viewonline.php + // Same exact code as in https://github.com/phpbb/phpbb/blob/master/phpBB/includes/message_parser.php + // See core.modify_attachment_sql_ary_on_submit https://area51.phpbb.com/docs/dev/3.3.x/extensions/events_list.html $vars_array = array('sql_ary'); extract($dispatcher->trigger_event('core.modify_attachment_sql_ary_on_submit', compact($vars_array))); }