Replace some usages of getModel(), getController(), etc. in the Rhymix Framework

This commit is contained in:
Kijin Sung 2020-05-18 21:51:36 +09:00
parent 052930a6d4
commit 786c9c9b8c
5 changed files with 11 additions and 11 deletions

View file

@ -68,7 +68,7 @@ class ConfigHelper
{
if (!isset(self::$_config_cache[$option[0]]))
{
self::$_config_cache[$option[0]] = getModel('module')->getModuleConfig($option[0]) ?: new stdClass;
self::$_config_cache[$option[0]] = \ModuleModel::getInstance()->getModuleConfig($option[0]) ?: new \stdClass;
}
$options = explode('.', $option[1]);
$temp = self::$_config_cache[$option[0]];