Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove deprecated PaginatedList::getPageLimits() and setPageLimits()

Use the individual getters on PaginatedList instead.
  • Loading branch information...
commit 78311c9ca6d62fee02dd9a0cc7ed3869d46a4b8e 1 parent 63983ad
@halkyon halkyon authored
Showing with 0 additions and 25 deletions.
  1. +0 −25 core/PaginatedList.php
View
25 core/PaginatedList.php
@@ -417,29 +417,4 @@ public function PrevLink() {
}
}
- // DEPRECATED --------------------------------------------------------------
-
- /**
- * @deprecated 3.0 Use individual getter methods.
- */
- public function getPageLimits() {
- Deprecation::notice('3.0', 'Use getPageStart, getPageLength, or getTotalItems instead.');
- return array(
- 'pageStart' => $this->getPageStart(),
- 'pageLength' => $this->pageLength,
- 'totalSize' => $this->getTotalItems(),
- );
- }
-
- /**
- * @deprecated 3.0 Use individual setter methods.
- */
- public function setPageLimits($pageStart, $pageLength, $totalSize) {
- Deprecation::notice('3.0', 'Use setPageStart, setPageLength, or setTotalItems instead.');
- $this->setPageStart($pageStart);
- $this->setPageLength($pageLength);
- $this->setTotalSize($totalSize);
- return $this;
- }
-
}
Please sign in to comment.
Something went wrong with that request. Please try again.