Undo changes to Feature

the evaluations were correct before.
This commit is contained in:
Adam Magness 2017-12-06 15:18:45 -05:00
parent cadfef63c4
commit 3e5a518591
1 changed files with 3 additions and 3 deletions

View File

@ -23,15 +23,15 @@ class Feature
{
$x = Config::get('feature_lock', $feature, false);
if (is_null($x)) {
if ($x === false) {
$x = PConfig::get($uid, 'feature', $feature, false);
}
if (is_null($x)) {
if ($x === false) {
$x = Config::get('feature', $feature, false);
}
if (is_null($x)) {
if ($x === false) {
$x = self::getDefault($feature);
}