diff options
Diffstat (limited to 'inc/poche/User.class.php')
-rw-r--r-- | inc/poche/User.class.php | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/inc/poche/User.class.php b/inc/poche/User.class.php index cc8bec65..eaadd3e5 100644 --- a/inc/poche/User.class.php +++ b/inc/poche/User.class.php | |||
@@ -5,7 +5,7 @@ | |||
5 | * @category wallabag | 5 | * @category wallabag |
6 | * @author Nicolas LÅ“uillet <nicolas@loeuillet.org> | 6 | * @author Nicolas LÅ“uillet <nicolas@loeuillet.org> |
7 | * @copyright 2013 | 7 | * @copyright 2013 |
8 | * @license http://www.wtfpl.net/ see COPYING file | 8 | * @license http://opensource.org/licenses/MIT see COPYING file |
9 | */ | 9 | */ |
10 | 10 | ||
11 | class User | 11 | class User |
@@ -44,7 +44,14 @@ class User | |||
44 | $this->config = $config; | 44 | $this->config = $config; |
45 | } | 45 | } |
46 | 46 | ||
47 | public function getConfigValue($name) { | 47 | /** |
48 | * Returns configuration entry for a user | ||
49 | * | ||
50 | * @param $name | ||
51 | * @return bool | ||
52 | */ | ||
53 | public function getConfigValue($name) | ||
54 | { | ||
48 | return (isset($this->config[$name])) ? $this->config[$name] : FALSE; | 55 | return (isset($this->config[$name])) ? $this->config[$name] : FALSE; |
49 | } | 56 | } |
50 | } \ No newline at end of file | 57 | } \ No newline at end of file |