mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Move escape functions to DB methods
git-svn-id: file:///svn/phpbb/trunk@3264 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -379,6 +379,16 @@ if (!empty($_REQUEST['explain']))
|
||||
return ( $query_id ) ? @mysql_free_result($query_id) : false;
|
||||
}
|
||||
|
||||
function sql_quote($msg)
|
||||
{
|
||||
return mysql_escape_string($msg);
|
||||
}
|
||||
|
||||
function sql_escape($msg)
|
||||
{
|
||||
return mysql_escape_string($msg);
|
||||
}
|
||||
|
||||
function sql_error($sql = '')
|
||||
{
|
||||
if ( !$this->return_on_error )
|
||||
|
Reference in New Issue
Block a user