2
0
forked from Wavyzz/dolibarr

The deprecated method escapeunderscore() of database handlers has been

removed. You must use escapeforlike instead.
This commit is contained in:
Laurent Destailleur
2022-12-17 13:06:22 +01:00
parent b4076612e5
commit 24fcb2ff16
7 changed files with 3 additions and 61 deletions

View File

@@ -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
*