Skip to content

Commit

Permalink
Update main_listener.php
Browse files Browse the repository at this point in the history
  • Loading branch information
msaulohenrique committed Dec 4, 2017
1 parent e25c837 commit 586575d
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions event/main_listener.php
Expand Up @@ -129,12 +129,13 @@ public function viewonline_page($event)
* Modifies the names of the forums on index
*
* @param \phpbb\event\data $event Event object
*
* public function display_forums_modify_template_vars($event)
* {
* $forum_row = $event['forum_row'];
* $forum_row['FORUM_NAME'] .= ' :: Code Generator Event ::';
* $event['forum_row'] = $forum_row;
* }
*/
public function display_forums_modify_template_vars($event)
{
$forum_row = $event['forum_row'];
$forum_row['FORUM_NAME'] .= ' :: Code Generator Event ::';
$event['forum_row'] = $forum_row;
}

}

0 comments on commit 586575d

Please sign in to comment.