Using renamed method to get all enabled modules

parent 392323fc
...@@ -23,7 +23,7 @@ if (! function_exists('locale')) { ...@@ -23,7 +23,7 @@ if (! function_exists('locale')) {
if (! function_exists('is_module_enabled')) { if (! function_exists('is_module_enabled')) {
function is_module_enabled($module) function is_module_enabled($module)
{ {
return array_key_exists($module, app('modules')->enabled()); return array_key_exists($module, app('modules')->allEnabled());
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment