@@ -663,7 +663,7 @@ |
||
663 | 663 | |
664 | 664 | try { |
665 | 665 | $stmt->execute()->finish(); |
666 | - } catch( \Aimeos\MW\DB\Exception $e ) { ; } // Ignore duplicates |
|
666 | + } catch( \Aimeos\MW\DB\Exception $e ) {; } // Ignore duplicates |
|
667 | 667 | |
668 | 668 | break; // only first price |
669 | 669 | } |
@@ -661,9 +661,13 @@ |
||
661 | 661 | $stmt->bind( 4, $date ); // mtime |
662 | 662 | $stmt->bind( 5, $siteid, \Aimeos\MW\DB\Statement\Base::PARAM_INT ); |
663 | 663 | |
664 | - try { |
|
664 | + try |
|
665 | + { |
|
665 | 666 | $stmt->execute()->finish(); |
666 | - } catch( \Aimeos\MW\DB\Exception $e ) { ; } // Ignore duplicates |
|
667 | + } |
|
668 | + catch( \Aimeos\MW\DB\Exception $e ) |
|
669 | + { |
|
670 | +; } // Ignore duplicates |
|
667 | 671 | |
668 | 672 | break; // only first price |
669 | 673 | } |
@@ -71,8 +71,7 @@ discard block |
||
71 | 71 | $this->execute( $this->clear ); |
72 | 72 | $this->execute( $stmt ); |
73 | 73 | $this->status( 'done' ); |
74 | - } |
|
75 | - else |
|
74 | + } else |
|
76 | 75 | { |
77 | 76 | $this->status( 'OK' ); |
78 | 77 | } |
@@ -87,8 +86,7 @@ discard block |
||
87 | 86 | { |
88 | 87 | $this->execute( $stmt ); |
89 | 88 | $this->status( 'done' ); |
90 | - } |
|
91 | - else |
|
89 | + } else |
|
92 | 90 | { |
93 | 91 | $this->status( 'OK' ); |
94 | 92 | } |
@@ -68,8 +68,7 @@ discard block |
||
68 | 68 | $this->execute( $this->clear ); |
69 | 69 | $this->execute( $stmt ); |
70 | 70 | $this->status( 'done' ); |
71 | - } |
|
72 | - else |
|
71 | + } else |
|
73 | 72 | { |
74 | 73 | $this->status( 'OK' ); |
75 | 74 | } |
@@ -84,8 +83,7 @@ discard block |
||
84 | 83 | { |
85 | 84 | $this->execute( $stmt ); |
86 | 85 | $this->status( 'done' ); |
87 | - } |
|
88 | - else |
|
86 | + } else |
|
89 | 87 | { |
90 | 88 | $this->status( 'OK' ); |
91 | 89 | } |