-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Description
pico-users/45-PicoUsers/PicoUsers.php
Lines 77 to 88 in 79b8ca9
| public function onPagesLoaded( | |
| array &$pages, | |
| array &$currentPage = null, | |
| array &$previousPage = null, | |
| array &$nextPage = null | |
| ) { | |
| foreach ($pages as $id => $page ) { | |
| if ($id == '403' || !$this->is_authorized($page['url'])) { | |
| unset($pages[$id]); | |
| } | |
| } | |
| } |
$previousPage and $nextPage should be changed when pointing 403.md pages.