Skip to content

Commit

Permalink
Removed deprecated optimize command (#20851)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell authored and taylorotwell committed Aug 30, 2017
1 parent 3ac9ce1 commit 5614967
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 62 deletions.
48 changes: 0 additions & 48 deletions src/Illuminate/Foundation/Console/OptimizeCommand.php

This file was deleted.

14 changes: 0 additions & 14 deletions src/Illuminate/Foundation/Providers/ArtisanServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
use Illuminate\Foundation\Console\JobMakeCommand;
use Illuminate\Database\Console\Seeds\SeedCommand;
use Illuminate\Foundation\Console\MailMakeCommand;
use Illuminate\Foundation\Console\OptimizeCommand;
use Illuminate\Foundation\Console\RuleMakeCommand;
use Illuminate\Foundation\Console\TestMakeCommand;
use Illuminate\Foundation\Console\EventMakeCommand;
Expand Down Expand Up @@ -98,7 +97,6 @@ class ArtisanServiceProvider extends ServiceProvider
'MigrateReset' => 'command.migrate.reset',
'MigrateRollback' => 'command.migrate.rollback',
'MigrateStatus' => 'command.migrate.status',
'Optimize' => 'command.optimize',
'PackageDiscover' => 'command.package.discover',
'Preset' => 'command.preset',
'QueueFailed' => 'command.queue.failed',
Expand Down Expand Up @@ -561,18 +559,6 @@ protected function registerNotificationMakeCommand()
});
}

/**
* Register the command.
*
* @return void
*/
protected function registerOptimizeCommand()
{
$this->app->singleton('command.optimize', function ($app) {
return new OptimizeCommand($app['composer']);
});
}

/**
* Register the command.
*
Expand Down

0 comments on commit 5614967

Please sign in to comment.