Delete the variable

Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
Valentin Popov 2018-03-12 03:42:08 +04:00
parent 55b1a6b5a9
commit cce50b316d
Signed by: Valentin Popov
GPG Key ID: 269A00ACA90A8EA3

View File

@ -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());
}