X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=inc%2Fpoche%2FUser.class.php;h=eaadd3e5bcc7ed343c4617f62a3663e456a0d0bf;hb=f9c8087f787b6ac38ca2c3b6a876a803860b8991;hp=6dac7839719472e952b7ae6e356d3da1d310f3fa;hpb=8d3275bee488d058c6ff0efe6e81d20a584d3709;p=github%2Fwallabag%2Fwallabag.git diff --git a/inc/poche/User.class.php b/inc/poche/User.class.php index 6dac7839..eaadd3e5 100644 --- a/inc/poche/User.class.php +++ b/inc/poche/User.class.php @@ -1,11 +1,11 @@ + * @category wallabag + * @author Nicolas Lœuillet * @copyright 2013 - * @license http://www.wtfpl.net/ see COPYING file + * @license http://opensource.org/licenses/MIT see COPYING file */ class User @@ -44,7 +44,14 @@ class User $this->config = $config; } - public function getConfigValue($name) { + /** + * Returns configuration entry for a user + * + * @param $name + * @return bool + */ + public function getConfigValue($name) + { return (isset($this->config[$name])) ? $this->config[$name] : FALSE; } } \ No newline at end of file