| Conditions | 3 |
| Paths | 4 |
| Total Lines | 16 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 4 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 16 | public function handle() |
||
| 17 | { |
||
| 18 | $status = $this->option('force') ? true : $this->confirm("Do you really want to uninstall the panel ? (All files and components will be deleted)", true); |
||
| 19 | |||
| 20 | if (!$status) { |
||
| 21 | $this->info("The process was canceled"); |
||
| 22 | return; |
||
| 23 | } |
||
| 24 | |||
| 25 | // Delete folders and files which EasyPanel published |
||
| 26 | $this->deleteFiles(); |
||
| 27 | |||
| 28 | // Drop tables which has been created by EasyPanel |
||
| 29 | $this->dropTables(); |
||
| 30 | |||
| 31 | $this->info("All files and components was deleted!"); |
||
| 32 | } |
||
| 54 |