diff options
author | Graham Eames <grahamje@users.sourceforge.net> | 2006-05-06 14:57:10 +0000 |
---|---|---|
committer | Graham Eames <grahamje@users.sourceforge.net> | 2006-05-06 14:57:10 +0000 |
commit | 3640410cc0d753ab81612c7e5c914ecfb47b27fe (patch) | |
tree | 01adb58fb035e966f9e0184dac81c377370f104a /phpBB/includes/acp | |
parent | 3d2a45ab049606701172c11552aa0c1006d2fbf1 (diff) | |
download | forums-3640410cc0d753ab81612c7e5c914ecfb47b27fe.tar forums-3640410cc0d753ab81612c7e5c914ecfb47b27fe.tar.gz forums-3640410cc0d753ab81612c7e5c914ecfb47b27fe.tar.bz2 forums-3640410cc0d753ab81612c7e5c914ecfb47b27fe.tar.xz forums-3640410cc0d753ab81612c7e5c914ecfb47b27fe.zip |
Remove references to max_warnings as we are not using the value
More advanced handling of warnings (ie ability to automatically ban at a threshold is likely to follow in 3.2 instead)
git-svn-id: file:///svn/phpbb/trunk@5887 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp')
-rw-r--r-- | phpBB/includes/acp/acp_board.php | 1 | ||||
-rw-r--r-- | phpBB/includes/acp/acp_users.php | 5 |
2 files changed, 1 insertions, 5 deletions
diff --git a/phpBB/includes/acp/acp_board.php b/phpBB/includes/acp/acp_board.php index 8d8a8d6277..3942a1b726 100644 --- a/phpBB/includes/acp/acp_board.php +++ b/phpBB/includes/acp/acp_board.php @@ -46,7 +46,6 @@ class acp_board 'legend2' => 'WARNINGS', 'warnings_expire_days' => array('lang' => 'WARNINGS_EXPIRE', 'type' => 'text:3:4', 'explain' => true), -// 'max_warnings' ) ); break; diff --git a/phpBB/includes/acp/acp_users.php b/phpBB/includes/acp/acp_users.php index 7e0601d1dc..65860a48d6 100644 --- a/phpBB/includes/acp/acp_users.php +++ b/phpBB/includes/acp/acp_users.php @@ -581,14 +581,11 @@ class acp_users $data['username'] = $data['user']; unset($data['user']); - /** - * @todo $config['max_warnings'] does not exist yet - */ // Validation data $var_ary = array( 'password_confirm' => array('string', true, $config['min_pass_chars'], $config['max_pass_chars']), 'user_password' => array('string', true, $config['min_pass_chars'], $config['max_pass_chars']), - 'warnings' => array('num', 0, $config['max_warnings']), + 'warnings' => array('num'), ); // Check username if altered |