WHAT. A. BIG. REFACTOR. + new license (we moved to MIT one)

This commit is contained in:
Nicolas Lœuillet
2014-07-11 16:03:59 +02:00
parent 6400371ff9
commit 3602405ec0
20 changed files with 930 additions and 771 deletions

View File

@ -5,7 +5,7 @@
* @category wallabag
* @author Nicolas Lœuillet <nicolas@loeuillet.org>
* @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;
}
}