Remove deprecated SQLQuery::setWhere() multiple arguments

This commit is contained in:
Sean Harvey 2012-11-16 14:35:30 +13:00
parent a2bd378d46
commit b3d5b68019

View File

@ -720,13 +720,6 @@ class SQLQuery {
*/ */
public function setWhere($where) { public function setWhere($where) {
$this->where = array(); $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); return $this->addWhere($where);
} }