about summary refs log tree commit diff stats
path: root/wiki/inc/Menu/Item/Profile.php
diff options
context:
space:
mode:
Diffstat (limited to 'wiki/inc/Menu/Item/Profile.php')
-rw-r--r--wiki/inc/Menu/Item/Profile.php24
1 files changed, 0 insertions, 24 deletions
diff --git a/wiki/inc/Menu/Item/Profile.php b/wiki/inc/Menu/Item/Profile.php
deleted file mode 100644
index 2b4ceeb..0000000
--- a/wiki/inc/Menu/Item/Profile.php
+++ /dev/null
@@ -1,24 +0,0 @@
-<?php
-
-namespace dokuwiki\Menu\Item;
-
-/**
- * Class Profile
- *
- * Open the user's profile
- */
-class Profile extends AbstractItem {
-
-    /** @inheritdoc */
-    public function __construct() {
-        global $INPUT;
-        parent::__construct();
-
-        if(!$INPUT->server->str('REMOTE_USER')) {
-            throw new \RuntimeException("profile is only for logged in users");
-        }
-
-        $this->svg = DOKU_INC . 'lib/images/menu/account-card-details.svg';
-    }
-
-}
author hut <hut@lavabit.com> 2013-02-22 20:24:09 +0100 committer hut <hut@lavabit.com> 2013-02-22 20:24:09 +0100 Fix docstrings to comply with the PEP8' href='/akspecs/ranger/commit/ranger/ext/popen_forked.py?id=b68d28c1da376547672ca00ef7bc16e94030db18'>b68d28c1 ^
98cc0a97 ^
d1a1173d ^










b3d031a9 ^
d1a1173d ^


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27