Brainzest has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/166399

Change subject: Removed else statement, so that checkError() call in 
SpecialImportTransaltions.php can give 'no headers found' error
......................................................................

Removed else statement, so that checkError() call in 
SpecialImportTransaltions.php can give 'no headers found' error

Change-Id: Ic5f88fd1abbda6ab70f2fdafc370de678bd4ae68
---
M ffs/GettextFFS.php
1 file changed, 1 insertion(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Translate 
refs/changes/99/166399/1

diff --git a/ffs/GettextFFS.php b/ffs/GettextFFS.php
index 8674b5b..1a47270 100644
--- a/ffs/GettextFFS.php
+++ b/ffs/GettextFFS.php
@@ -107,9 +107,7 @@
                        if ( in_array( 'fuzzy', $flags, true ) ) {
                                $potmode = true;
                        }
-               } else {
-                       //throw new MWException( "Gettext file header was not 
found:\n\n$data" );  // removed as of bug 57964
-               }
+               } 
 
                $template = array();
                $messages = array();

-- 
To view, visit https://gerrit.wikimedia.org/r/166399
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic5f88fd1abbda6ab70f2fdafc370de678bd4ae68
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: Brainzest <ntekri...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to