@@ -515,8 +515,7 @@ |
||
515 | 515 | */ |
516 | 516 | $path = 'mshop/media/manager/insert'; |
517 | 517 | $sql = $this->addSqlColumns( array_keys( $columns ), $this->getSqlConfig( $path ) ); |
518 | - } |
|
519 | - else |
|
518 | + } else |
|
520 | 519 | { |
521 | 520 | /** mshop/media/manager/update/mysql |
522 | 521 | * Updates an existing media record in the database |
@@ -54,8 +54,7 @@ |
||
54 | 54 | $msg = $this->context()->translate( 'mshop', 'Unable to open file "%1$s"' ); |
55 | 55 | throw new \Aimeos\MShop\Media\Exception( sprintf( $msg, $file ) ); |
56 | 56 | } |
57 | - } |
|
58 | - else |
|
57 | + } else |
|
59 | 58 | { |
60 | 59 | $fh = $this->context()->fs( 'fs-media' )->reads( $file ); |
61 | 60 | } |