r22768 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r22767‎ | r22768 | r22769 >
Date:17:53, 5 June 2007
Author:tstarling
Status:old
Tags:
Comment:
LocalFile::restore(): roll back the DB transaction if the file is missing
Modified paths:
  • /trunk/phase3/includes/filerepo/LocalFile.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/filerepo/LocalFile.php
@@ -1261,6 +1261,7 @@
12621262 } catch( MWException $e ) {
12631263 wfDebug( __METHOD__." caught error, aborting\n" );
12641264 $transaction->rollback();
 1265+ $dbw->rollback();
12651266 throw $e;
12661267 }
12671268

Follow-up revisions

RevisionCommit summaryAuthorDate
r22791Merged revisions 22747-22790 via svnmerge from...david09:21, 6 June 2007

Status & tagging log