Permalink
Browse files

Removing deprecated container class argument to DataObject::get()

  • Loading branch information...
1 parent 3a198c3 commit e1c5f084adba302f8293b1c9303d9f394f21c2fb @halkyon halkyon committed Nov 14, 2012
Showing with 0 additions and 7 deletions.
  1. +0 −7 model/DataObject.php
View
7 model/DataObject.php
@@ -2666,13 +2666,6 @@ public static function get($callerClass = null, $filter = "", $sort = "", $join
return $result;
}
- // Todo: Determine if we can deprecate for 3.0.0 and use DI or something instead
- // Todo: Make the $containerClass method redundant
- if($containerClass != 'DataList') {
- Deprecation::notice('3.0', 'DataObject::get() - $containerClass argument is deprecated.',
- Deprecation::SCOPE_GLOBAL);
- }
-
$result = DataList::create($callerClass)->where($filter)->sort($sort);
if($limit && strpos($limit, ',') !== false) {

0 comments on commit e1c5f08

Please sign in to comment.