Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Extend deprecation of DataObject::Aggregate() and RelationshipAggrega…

…te()
  • Loading branch information...
commit dde820d87d37728241d38177e5fd80c2658172d7 1 parent 0db33f7
@halkyon halkyon authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 model/DataObject.php
View
8 model/DataObject.php
@@ -2689,10 +2689,10 @@ public static function get($callerClass = null, $filter = "", $sort = "", $join
}
/**
- * @deprecated 3.0 Use DataList::create and DataList to do your querying
+ * @deprecated 3.1 Use DataList::create and DataList to do your querying
*/
public function Aggregate($class = null) {
- Deprecation::notice('3.0', 'Call aggregate methods on a DataList directly instead. In templates'
+ Deprecation::notice('3.1', 'Call aggregate methods on a DataList directly instead. In templates'
. ' an example of the new syntax is &lt% cached List(Member).max(LastEdited) %&gt instead'
. ' (check partial-caching.md documentation for more details.)');
@@ -2710,10 +2710,10 @@ public function Aggregate($class = null) {
}
/**
- * @deprecated 3.0 Use DataList::create and DataList to do your querying
+ * @deprecated 3.1 Use DataList::create and DataList to do your querying
*/
public function RelationshipAggregate($relationship) {
- Deprecation::notice('3.0', 'Call aggregate methods on a relationship directly instead.');
+ Deprecation::notice('3.1', 'Call aggregate methods on a relationship directly instead.');
return $this->$relationship();
}
Please sign in to comment.
Something went wrong with that request. Please try again.