mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-07 01:06:48 +02:00
- updated all code to use the request class instead of any direct access to
super globals - disabled super globals in common.php. See commit r9101 for more information - cleaned up/simplified a few lines along the way. git-svn-id: file:///svn/phpbb/trunk@9102 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -32,8 +32,8 @@ class mcp_ban
|
||||
// Include the admin banning interface...
|
||||
include(PHPBB_ROOT_PATH . 'includes/acp/acp_ban.' . PHP_EXT);
|
||||
|
||||
$bansubmit = (isset($_POST['bansubmit'])) ? true : false;
|
||||
$unbansubmit = (isset($_POST['unbansubmit'])) ? true : false;
|
||||
$bansubmit = request::is_set_post('bansubmit');
|
||||
$unbansubmit = request::is_set_post('unbansubmit');
|
||||
$current_time = time();
|
||||
|
||||
$user->add_lang(array('acp/ban', 'acp/users'));
|
||||
|
Reference in New Issue
Block a user