FEATURE: hide menu entry when no content modules are available

This commit is contained in:
Michal Kváček
2017-08-22 22:35:48 +02:00
parent 7d847cbab9
commit e0b5559b96
12 changed files with 33 additions and 28 deletions
@@ -2,8 +2,8 @@
namespace App\Console\Commands\Modules;
use App\CMS\ModuleManager\Installer;
use App\Models\Module;
use App\ModuleManager\Installer;
use Illuminate\Console\Command;
use Illuminate\Contracts\Filesystem\FileNotFoundException;
use Illuminate\Support\Facades\Cache;
@@ -0,0 +1,42 @@
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
class UninstallModule extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'command:name';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Command description';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
//
}
}