aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/User.class.php
diff options
context:
space:
mode:
authorNicolas Lœuillet <nicolas@loeuillet.org>2014-07-23 13:44:48 +0200
committerNicolas Lœuillet <nicolas@loeuillet.org>2014-07-23 13:44:48 +0200
commit887b015def3098f1e898e7bf3338fa2d093b6d95 (patch)
tree41206132200aa9390e11d600ad2b84ffa23242e4 /inc/poche/User.class.php
parentebd6bf6007e0fad4c3e11dac0e79f687e1d195a2 (diff)
parent505a74ad1de7cf2cd3605e793233365501f03d87 (diff)
downloadwallabag-887b015def3098f1e898e7bf3338fa2d093b6d95.tar.gz
wallabag-887b015def3098f1e898e7bf3338fa2d093b6d95.tar.zst
wallabag-887b015def3098f1e898e7bf3338fa2d093b6d95.zip
Merge branch 'refactor' into dev
Diffstat (limited to 'inc/poche/User.class.php')
-rw-r--r--inc/poche/User.class.php11
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
11class User 11class 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