diff --git a/model/DataObject.php b/model/DataObject.php index 208866745..3cd975569 100644 --- a/model/DataObject.php +++ b/model/DataObject.php @@ -2632,23 +2632,6 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity return false; } - /** - * @deprecated 3.0 Use DataList::create and DataList to do your querying - */ - public function buildSQL($filter = "", $sort = "", $limit = "", $join = "", $restrictClasses = true, $having="") { - Deprecation::notice('3.0', 'Use DataList::create and DataList to do your querying instead.'); - return $this->extendedSQL($filter, $sort, $limit, $join, $having); - } - - /** - * @deprecated 3.0 Use DataList::create and DataList to do your querying - */ - public function extendedSQL($filter = "", $sort = "", $limit = "", $join = ""){ - Deprecation::notice('3.0', 'Use DataList::create and DataList to do your querying instead.'); - $dataList = DataObject::get($this->class, $filter, $sort, $join, $limit); - return $dataList->dataQuery()->query(); - } - /** * Return all objects matching the filter * sub-classes are automatically selected and included