From cce50b316d35fda03a1b7b741a66261abb6c4b86 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Mon, 12 Mar 2018 03:42:08 +0400 Subject: Delete the variable Signed-off-by: Valentin Popov --- classes/webhooks_table.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'classes') diff --git a/classes/webhooks_table.php b/classes/webhooks_table.php index b38d0bd..53f714c 100644 --- a/classes/webhooks_table.php +++ b/classes/webhooks_table.php @@ -67,8 +67,7 @@ class local_webhooks_table extends table_sql { * @param boolean $useinitialsbar */ public function query_db($pagesize, $useinitialsbar = false) { - $total = local_webhooks_get_total_count(); - $this->pagesize($pagesize, $total); + $this->pagesize($pagesize, local_webhooks_get_total_count()); $this->rawdata = local_webhooks_get_list_records($this->get_page_start(), $this->get_page_size()); } -- cgit v1.2.3