mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00: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
1 changed files with 0 additions and 16 deletions
|
@ -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…
Add table
Reference in a new issue