mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 14:18:27 +01:00
refactoring to SettingsManager::isFixed
This commit is contained in:
parent
90896d827b
commit
3008f6e33b
@ -84,11 +84,7 @@ class SettingsManager extends BaseSettingsManager
|
|||||||
*/
|
*/
|
||||||
public function isFixed($name)
|
public function isFixed($name)
|
||||||
{
|
{
|
||||||
if (isset(Yii::$app->params['fixed-settings'][$this->moduleId][$name])) {
|
return isset(Yii::$app->params['fixed-settings'][$this->moduleId][$name]);
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user