mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 08:42:15 +09:00
Clean up some methods in DB classes
This commit is contained in:
parent
80f2dd7a8a
commit
d5a5364814
5 changed files with 84 additions and 247 deletions
|
|
@ -94,10 +94,6 @@ class DBMssql extends DB
|
|||
*/
|
||||
function addQuotes($string)
|
||||
{
|
||||
if(version_compare(PHP_VERSION, "5.4.0", "<") && get_magic_quotes_gpc())
|
||||
{
|
||||
$string = stripslashes(str_replace("\\", "\\\\", $string));
|
||||
}
|
||||
//if(!is_numeric($string)) $string = str_replace("'","''",$string);
|
||||
|
||||
return $string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue