Jaxel
Well-known member
I'm trying to close my forum through code...
Doing the above code, properly edits the settings in the admin CP. However, it doesn't actually close the forums. What step am I missing here?
Code:
$this->repository('XF:Option')->updateOptions([
'boardActive' => $active,
'boardInactiveMessage' => $message
]);