Add a link to the forum, see #753

This commit is contained in:
Shish 2020-09-19 00:18:45 +01:00
parent cae24210cc
commit 6284f3bcb8

View File

@ -84,6 +84,10 @@ class Forum extends Extension
$event->add_stats("Forum posts: $posts_count, $posts_rate per day");
}
public function onUserBlockBuilding(UserBlockBuildingEvent $event)
{
$event->add_link("Forum", make_link("forum/index"));
}
public function onPageRequest(PageRequestEvent $event)
{