Add a link to the forum, see #753
This commit is contained in:
parent
cae24210cc
commit
6284f3bcb8
@ -84,6 +84,10 @@ class Forum extends Extension
|
|||||||
$event->add_stats("Forum posts: $posts_count, $posts_rate per day");
|
$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)
|
public function onPageRequest(PageRequestEvent $event)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user