Permalink
Browse files

Remove deprecated ArrayList::getRange(), use limit() instead

  • Loading branch information...
1 parent 7042d87 commit a2bd378d468b1bc789b0a394b03e9a13d85c7b2f @halkyon halkyon committed Nov 16, 2012
Showing with 0 additions and 13 deletions.
  1. +0 −13 model/ArrayList.php
View
@@ -111,19 +111,6 @@ public function toNestedArray() {
return $result;
}
- /**
- * Get a sub-range of this dataobjectset as an array
- *
- * @param int $offset
- * @param int $length
- * @return ArrayList
- */
- public function getRange($offset, $length) {
- Deprecation::notice("3.0", 'getRange($offset, $length) is deprecated. Use limit($length, $offset) instead.'
- . ' Note the new argument order.');
- return $this->limit($length, $offset);
- }
-
/**
* Get a sub-range of this dataobjectset as an array
*

0 comments on commit a2bd378

Please sign in to comment.