From 27befeeb528dbbed382549c6626ac45f7b81560e Mon Sep 17 00:00:00 2001 From: Steve Blamey Date: Fri, 23 Jun 2023 15:17:25 +0100 Subject: [PATCH] Remove SearchHandler::setPerPage I didn't need this in the end :-D --- lib/classes/standard/SearchHandler.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/lib/classes/standard/SearchHandler.php b/lib/classes/standard/SearchHandler.php index 766e7f68..78313bc6 100755 --- a/lib/classes/standard/SearchHandler.php +++ b/lib/classes/standard/SearchHandler.php @@ -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;