Revert r105140 temporarily. The exception is thrown while running the parser tests...
authorRoan Kattouw <catrope@users.mediawiki.org>
Mon, 5 Dec 2011 07:03:21 +0000 (07:03 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Mon, 5 Dec 2011 07:03:21 +0000 (07:03 +0000)
includes/filerepo/file/LocalFile.php

index 74eb0c7..df71443 100644 (file)
@@ -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