mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Remove deprecated SQLQuery::setWhere() multiple arguments
This commit is contained in:
parent
a2bd378d46
commit
b3d5b68019
@ -720,13 +720,6 @@ class SQLQuery {
|
||||
*/
|
||||
public function setWhere($where) {
|
||||
$this->where = array();
|
||||
|
||||
$args = func_get_args();
|
||||
if(isset($args[1])) {
|
||||
Deprecation::notice('3.0',
|
||||
'Multiple arguments to where is deprecated. Pleas use where("Column = Something") syntax instead');
|
||||
}
|
||||
|
||||
return $this->addWhere($where);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user