Index: trunk/extensions/UploadWizard/includes/UploadWizardCampaign.php |
— | — | @@ -368,6 +368,8 @@ |
369 | 369 | protected function writePropsToDB( DatabaseBase $dbw ) { |
370 | 370 | $success = true; |
371 | 371 | |
| 372 | + $dbw->begin(); |
| 373 | + |
372 | 374 | foreach ( $this->config as $prop => $value ) { |
373 | 375 | $success &= $dbw->insert( |
374 | 376 | 'uw_campaign_conf', |
— | — | @@ -379,6 +381,8 @@ |
380 | 382 | ); |
381 | 383 | } |
382 | 384 | |
| 385 | + $dbw->commit(); |
| 386 | + |
383 | 387 | return $success; |
384 | 388 | } |
385 | 389 | |