mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/17093] Depends_on to v3310 and reformat switch
PHPBB3-17093
This commit is contained in:
@@ -379,14 +379,17 @@ class user extends \phpbb\session
|
||||
{
|
||||
case 0:
|
||||
$access_disabled_board = $auth->acl_gets('a_');
|
||||
break;
|
||||
break;
|
||||
|
||||
case 1:
|
||||
$access_disabled_board = $auth->acl_gets('a_', 'm_');
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
case 2:
|
||||
default:
|
||||
$access_disabled_board = $auth->acl_gets('a_', 'm_') || $auth->acl_getf_global('m_');
|
||||
break;
|
||||
break;
|
||||
|
||||
}
|
||||
|
||||
if ($config['board_disable'] && !defined('IN_INSTALL') && !defined('IN_LOGIN') && !defined('SKIP_CHECK_DISABLED') && !$access_disabled_board)
|
||||
|
Reference in New Issue
Block a user