Remove unnecessary check for array in getModulePartConfig()

This commit is contained in:
Kijin Sung 2020-05-26 00:27:31 +09:00
parent 2e2e11618b
commit 55cba46f26

View file

@ -1448,14 +1448,7 @@ class moduleModel extends module
} }
else else
{ {
if (is_array($output->data->config)) $config = new stdClass;
{
$config = array();
}
else
{
$config = new stdClass;
}
} }
// Deprecate use of ArrayObject because of https://bugs.php.net/bug.php?id=77298 // Deprecate use of ArrayObject because of https://bugs.php.net/bug.php?id=77298