Skip to content

Commit afbfe3b

Browse files
committed
Do not force founder to accept ToU or PP
1 parent 339e885 commit afbfe3b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

event/main.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,11 @@ public function page_header($event)
153153
{
154154
return;
155155
}
156+
// Return if we are the board founder
157+
if ($this->user->data['user_type'] == USER_FOUNDER)
158+
{
159+
return;
160+
}
156161

157162
// At this point we have a registered user who did not accept the newest TOU.
158163
redirect($this->helper->route('phpbbde_tou_main_controller', [], false, false, \Symfony\Component\Routing\Generator\UrlGeneratorInterface::ABSOLUTE_URL));

0 commit comments

Comments
 (0)