mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
Remove dead code
This commit is contained in:
@@ -727,7 +727,7 @@ class module_report
|
||||
* effectue le mechanism de pagination
|
||||
* @param resultset $rs
|
||||
*/
|
||||
protected function calculatePages($rs)
|
||||
protected function calculatePages()
|
||||
{
|
||||
if ($this->nb_record && $this->total > $this->nb_record) {
|
||||
$this->previous_page = $this->nb_page - 1;
|
||||
@@ -843,7 +843,7 @@ class module_report
|
||||
//construct results
|
||||
$this->buildResult($this->app, $rs);
|
||||
//calculate prev and next page
|
||||
$this->calculatePages($rs);
|
||||
$this->calculatePages();
|
||||
//do we display navigator ?
|
||||
$this->setDisplayNav();
|
||||
//assign all variables
|
||||
|
Reference in New Issue
Block a user