From cfab36dd59977a3275f34cfd93b7e3995acf2b58 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Mon, 5 Dec 2011 07:03:21 +0000 Subject: [PATCH] Revert r105140 temporarily. The exception is thrown while running the parser tests (at least from Jenkins, haven't tried locally), which completely breaks the test suite and renders Jenkins useless. Feel free to reapply once the cause of the oi_archive_name bug is fixed and committing this won't cause exceptions to be thrown in Jenkins's face. --- includes/filerepo/file/LocalFile.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/includes/filerepo/file/LocalFile.php b/includes/filerepo/file/LocalFile.php index 74eb0c7d9d..df7144330e 100644 --- a/includes/filerepo/file/LocalFile.php +++ b/includes/filerepo/file/LocalFile.php @@ -1007,9 +1007,6 @@ class LocalFile extends File { ); if ( $dbw->affectedRows() == 0 ) { - if ( $oldver == '' ) { - throw new MWException( "Empty oi_archive_name. Database and storage out of sync?" ); - } $reupload = true; # Collision, this is an update of a file -- 2.20.1