Skip to content

Commit

Permalink
Remove SearchHandler::setPerPage
Browse files Browse the repository at this point in the history
I didn't need this in the end :-D
  • Loading branch information
steveblamey committed Jun 23, 2023
1 parent 9e8bcf2 commit 27befee
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions lib/classes/standard/SearchHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -338,17 +338,6 @@ function setOrderby($orderby,$orderdir='ASC') {
$this->orderdir=$orderdir;
}

/**
* Set rows per page
*
* @param integer $perpage
* @return void
*/
function setPerPage($perpage) {
$this->perpage=$perpage;
$this->extractPaging('', $this->perpage);
}

function setLimit($limit,$offset=0) {
$this->perpage=$limit;
$this->offset=$offset;
Expand Down

0 comments on commit 27befee

Please sign in to comment.