mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-18 22:58:10 +01:00
Remove request_var
git-svn-id: file:///svn/phpbb/trunk@4538 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
4921307020
commit
a69762f024
@ -816,22 +816,6 @@ adm_page_footer();
|
||||
// ------------------
|
||||
// Begin function block
|
||||
//
|
||||
|
||||
function request_var($var_name, $default)
|
||||
{
|
||||
if (!isset($_REQUEST[$var_name]))
|
||||
{
|
||||
return $default;
|
||||
}
|
||||
else
|
||||
{
|
||||
$var = $_REQUEST[$var_name];
|
||||
settype($var, gettype($default));
|
||||
|
||||
return $var;
|
||||
}
|
||||
}
|
||||
|
||||
function get_forum_info($forum_id)
|
||||
{
|
||||
global $db;
|
||||
|
Loading…
x
Reference in New Issue
Block a user