@@ -39,10 +39,10 @@ discard block |
||
39 | 39 | if(file_exists(app_path("CBPlugins/".$key))) { |
40 | 40 | rrmdir(app_path("CBPlugins/".$key)); |
41 | 41 | return cb()->redirectBack('Plugin has been uninstalled!','success'); |
42 | - }else{ |
|
42 | + } else{ |
|
43 | 43 | return cb()->redirectBack('Failed to uninstall, plugin is not found'); |
44 | 44 | } |
45 | - }else { |
|
45 | + } else { |
|
46 | 46 | return cb()->redirectBack('Failed to uninstall, plugin key is not found'); |
47 | 47 | } |
48 | 48 | } |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | } else { |
77 | 77 | return cb()->redirectBack("Failed to install/update, can't open the plugin archive"); |
78 | 78 | } |
79 | - }else{ |
|
79 | + } else{ |
|
80 | 80 | return cb()->redirectBack('Failed to install/update, plugin key is not found'); |
81 | 81 | } |
82 | 82 | } |