diff --git a/model/DataList.php b/model/DataList.php index 1375a1e4f..461eb3bdd 100644 --- a/model/DataList.php +++ b/model/DataList.php @@ -243,10 +243,6 @@ class DataList extends ViewableData implements SS_List, SS_Filterable, SS_Sortab if(!$limit && !$offset) { return $this; } - if($limit && !is_numeric($limit)) { - Deprecation::notice('3.0', 'Please pass limits as 2 arguments, rather than an array or SQL fragment.', - Deprecation::SCOPE_GLOBAL); - } return $this->alterDataQuery_30(function($query) use ($limit, $offset){ $query->limit($limit, $offset); });