Reverting r45058 "(bug 15430) Cancel the upload process and rollback database changes...
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 31 Dec 2008 17:25:08 +0000 (17:25 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 31 Dec 2008 17:25:08 +0000 (17:25 +0000)
commit09922e435bb292f369943ce2038fd25436539017
tree8e291a33831cd3e2357ca6c12c578241b5c84dcd
parentd2db6fcf151e2ae2e32918e229ae0b6bd2e4d855
Reverting r45058 "(bug 15430) Cancel the upload process and rollback database changes in case no article associated with the file can be created"

Article::doEdit() opens and commits transactions of its own, so the transaction we started earlier will already be committed and cannot be rolled back at this point unless one of two particular failure modes hits (ArticleSave hook aborts or mLatest isn't set). A more general fix needs to be devised...
RELEASE-NOTES
includes/filerepo/LocalFile.php