mirror of https://github.com/MISP/MISP
chg: remove obsolete count variable
parent
7dae6c9c23
commit
e137e2f4e7
|
@ -48,7 +48,6 @@ class TaxonomiesController extends AppController {
|
|||
$taxonomy = $this->Taxonomy->getTaxonomy($id, array('full' => true, 'filter' => $filter));
|
||||
$this->set('filter', $filter);
|
||||
if (empty($taxonomy)) throw new NotFoundException('Taxonomy not found.');
|
||||
$pageCount = count($taxonomy['entries']);
|
||||
$customPagination = new CustomPaginationTool();
|
||||
$params = $customPagination->createPaginationRules($taxonomy['entries'], $this->passedArgs, 'TaxonomyEntry');
|
||||
$this->params->params['paging'] = array($this->modelClass => $params);
|
||||
|
|
Loading…
Reference in New Issue