mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-02 03:16:11 +01:00
Merge branch 'develop' of https://github.com/getgrav/grav-plugin-admin into develop
# Conflicts: # classes/controller.php
This commit is contained in:
@@ -402,10 +402,7 @@ class Admin
|
||||
*/
|
||||
public function countPages()
|
||||
{
|
||||
$routable = $this->grav['pages']->all()->routable();
|
||||
$modular = $this->grav['pages']->all()->modular();
|
||||
|
||||
return count($routable) + count($modular);
|
||||
return count($this->grav['pages']->all());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user