aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/Menu/UserMenu.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/Menu/UserMenu.php')
-rw-r--r--inc/Menu/UserMenu.php12
1 files changed, 3 insertions, 9 deletions
diff --git a/inc/Menu/UserMenu.php b/inc/Menu/UserMenu.php
index 01028d3cc..b094b1937 100644
--- a/inc/Menu/UserMenu.php
+++ b/inc/Menu/UserMenu.php
@@ -7,15 +7,9 @@ namespace dokuwiki\Menu;
*
* Actions related to the current user
*/
-class UserMenu extends AbstractMenu {
-
+class UserMenu extends AbstractMenu
+{
protected $view = 'user';
- protected $types = array(
- 'Profile',
- 'Admin',
- 'Register',
- 'Login',
- );
-
+ protected $types = ['Profile', 'Admin', 'Register', 'Login'];
}