| @@ -4,9 +4,9 @@ | ||
| 4 | 4 | namespace Imagify; |
| 5 | 5 | |
| 6 | 6 | use Imagify\Admin\AdminBar; |
| 7 | 7 | use Imagify\Bulk\Bulk; |
| 8 | -use Imagify\CLI\{BulkOptimizeCommand, GenerateMissingNextgenCommand}; | |
| 8 | +use Imagify\CLI\{BulkOptimizeCommand, GenerateMissingNextgenCommand, RestoreCommand}; | |
| 9 | 9 | use Imagify\Dependencies\League\Container\Container; |
| 10 | 10 | use Imagify\Dependencies\League\Container\ServiceProvider\ServiceProviderInterface; |
| 11 | 11 | use Imagify\EventManagement\{EventManager, SubscriberInterface}; |
| 12 | 12 | use Imagify\Notices\Notices; |
| @@ -131,8 +131,9 @@ | ||
| 131 | 131 | |
| 132 | 132 | add_action( 'init', [ $this, 'maybe_activate' ] ); |
| 133 | 133 | |
| 134 | 134 | imagify_add_command( new BulkOptimizeCommand() ); |
| 135 | + imagify_add_command( new RestoreCommand() ); | |
| 135 | 136 | imagify_add_command( new GenerateMissingNextgenCommand() ); |
| 136 | 137 | |
| 137 | 138 | foreach ( $providers as $service_provider ) { |
| 138 | 139 | $provider_instance = new $service_provider(); |