Clean up some methods in DB classes

This commit is contained in:
Kijin Sung 2016-02-11 10:33:15 +09:00
parent 80f2dd7a8a
commit d5a5364814
5 changed files with 84 additions and 247 deletions

View file

@ -107,12 +107,6 @@ class DBCubrid 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))
{
/*