Delete the variable
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
parent
55b1a6b5a9
commit
cce50b316d
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user