mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR: defined the addslashes() method on the abstract SS_Database as Convert::raw2sql() assumes it exists. FIXES: #6662
This commit is contained in:
parent
0c1b856ce8
commit
cb064203ba
@ -141,6 +141,14 @@ abstract class SS_Database {
|
||||
*/
|
||||
abstract function enumValuesForField($tableName, $fieldName);
|
||||
|
||||
/**
|
||||
* Returns an escaped string.
|
||||
*
|
||||
* @param string
|
||||
* @return string - escaped string
|
||||
*/
|
||||
abstract function addslashes($val);
|
||||
|
||||
/**
|
||||
* The table list, generated by the tableList() function.
|
||||
* Used by the requireTable() function.
|
||||
|
Loading…
Reference in New Issue
Block a user