MyBB Community Forums

Full Version: get_unviewable_forums function code cleanup
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
There is the following code in the function get_unviewable_forums:
	$pid = intval($pid);

	if(!$permissions)
	{
		$permissions = $mybb->usergroup;
	}
Neither $pid nor $permissions are available in this function body. They aren't used there.