Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
34 | public function update( \Aimeos\MW\Observer\Publisher\Iface $order, $action, $value = null ) |
||
35 | { |
||
36 | if( $this->singleton === true ) { |
||
37 | return true; |
||
38 | } |
||
39 | |||
40 | $this->singleton = true; |
||
41 | $result = $this->getProvider()->update( $order, $action, $value ); |
||
42 | $this->singleton = false; |
||
43 | |||
44 | return $result; |
||
45 | } |
||
46 | } |
||
47 |