@@ -61,8 +61,7 @@ discard block |
||
| 61 | 61 | if (!static::cp($source . '/' . $file, $dest . '/' . $file)) { |
| 62 | 62 | return false; |
| 63 | 63 | } |
| 64 | - } |
|
| 65 | - else { |
|
| 64 | + } else { |
|
| 66 | 65 | if (!copy($source . '/' . $file, $dest . '/' . $file)) { |
| 67 | 66 | return false; |
| 68 | 67 | } |
@@ -108,8 +107,7 @@ discard block |
||
| 108 | 107 | if (!static::rm($thisPath)) { |
| 109 | 108 | return false; |
| 110 | 109 | } |
| 111 | - } |
|
| 112 | - else { |
|
| 110 | + } else { |
|
| 113 | 111 | if (!unlink($thisPath)) { |
| 114 | 112 | return false; |
| 115 | 113 | } |