revert change

not needed
This commit is contained in:
Boy132 2025-11-06 12:55:35 +01:00
parent d2e2346806
commit 7f74afcd6f

View File

@ -4,24 +4,17 @@ namespace App\Console\Commands\Plugin;
use App\Facades\Plugins;
use App\Models\Plugin;
use App\Traits\Commands\RequiresDatabaseMigrations;
use Exception;
use Illuminate\Console\Command;
class ComposerPluginsCommand extends Command
{
use RequiresDatabaseMigrations;
protected $signature = 'p:plugin:composer';
protected $description = 'Runs "composer require" on all installed plugins.';
public function handle(): void
{
if (!$this->hasCompletedMigrations()) {
return;
}
$plugins = Plugin::all();
foreach ($plugins as $plugin) {
if (!$plugin->shouldLoad()) {