Move AsgardCms class to the foundation namespace

parent 8f13ea32
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
namespace Modules\Core\Composers; namespace Modules\Core\Composers;
use Illuminate\Contracts\View\View; use Illuminate\Contracts\View\View;
use Modules\Core\AsgardCms; use Modules\Core\Foundation\AsgardCms;
class ApplicationVersionViewComposer class ApplicationVersionViewComposer
{ {
......
<?php <?php
namespace Modules\Core; namespace Modules\Core\Foundation;
class AsgardCms class AsgardCms
{ {
......
...@@ -4,7 +4,7 @@ if (! function_exists('module_version')) { ...@@ -4,7 +4,7 @@ if (! function_exists('module_version')) {
function module_version($module) function module_version($module)
{ {
if (is_core_module($module->name) === true) { if (is_core_module($module->name) === true) {
return \Modules\Core\AsgardCms::VERSION; return \Modules\Core\Foundation\AsgardCms::VERSION;
} }
return $module->version; return $module->version;
} }
......
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