Merge "Revert "Add AvailableRightsTest for User::getAllRights completeness""
[lhc/web/wiklou.git] / includes / media / XMP.php
index 5b46af1..0d341aa 100644 (file)
@@ -316,7 +316,7 @@ class XMPReader {
                                $this->results = array(); // blank if error.
                                return false;
                        }
-               } catch ( MWException $e ) {
+               } catch ( Exception $e ) {
                        wfDebugLog( 'XMP', 'XMP parse error: ' . $e );
                        $this->results = array();