config: adjust a comment

This commit is contained in:
Franco Fichtner 2025-03-10 09:10:43 +01:00
parent d68d48fdd4
commit 8591b00bd6

View File

@ -141,10 +141,8 @@ function load_config_from_file($filename)
function parse_config()
{
$cnf = OPNsense\Core\Config::getInstance();
// return config data as array, use old "listtags" construction to mark certain elements as array (even if they're not recurring)
/* make sure to write back global variable */
$config = $cnf->toArray(listtags());
return $config;
}