@@ -123,8 +123,7 @@ |
||
| 123 | 123 | { |
| 124 | 124 | if (!empty($style)) { |
| 125 | 125 | $path = $this->styleManager->getStylePath($image, $style); |
| 126 | - } |
|
| 127 | - else { |
|
| 126 | + } else { |
|
| 128 | 127 | $path = $image->getPath(); |
| 129 | 128 | } |
| 130 | 129 | $this->fileSystem->delete($path); |