forked from Wavyzz/dolibarr
The deprecated method escapeunderscore() of database handlers has been
removed. You must use escapeforlike instead.
This commit is contained in:
@@ -251,18 +251,6 @@ class TraceableDB extends DoliDB
|
||||
return $this->db->escape($stringtoencode);
|
||||
}
|
||||
|
||||
/**
|
||||
* Escape a string to insert data
|
||||
*
|
||||
* @param string $stringtoencode String to escape
|
||||
* @return string String escaped
|
||||
* @deprecated
|
||||
*/
|
||||
public function escapeunderscore($stringtoencode)
|
||||
{
|
||||
return $this->db->escapeunderscore($stringtoencode);
|
||||
}
|
||||
|
||||
/**
|
||||
* Escape a string to insert data into a like
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user