aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorGraham Eames <grahamje@users.sourceforge.net>2006-05-06 14:57:10 +0000
committerGraham Eames <grahamje@users.sourceforge.net>2006-05-06 14:57:10 +0000
commit3640410cc0d753ab81612c7e5c914ecfb47b27fe (patch)
tree01adb58fb035e966f9e0184dac81c377370f104a /phpBB/includes
parent3d2a45ab049606701172c11552aa0c1006d2fbf1 (diff)
downloadforums-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')
-rw-r--r--phpBB/includes/acp/acp_board.php1
-rw-r--r--phpBB/includes/acp/acp_users.php5
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