X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fmedia%2FXMP.php;h=0d341aaa1da4ef06c6949a668cc49c82087b9ec6;hb=25bdfe5dc8d2a106278b65e8e5785f51b7034317;hp=cdbd5ab2ad548d52248097e95d5201a9765e1e62;hpb=d7d4f59724b9a7c0b466760c0870e5f71255569c;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/media/XMP.php b/includes/media/XMP.php index cdbd5ab2ad..0d341aaa1d 100644 --- a/includes/media/XMP.php +++ b/includes/media/XMP.php @@ -173,7 +173,7 @@ class XMPReader { $data = $this->results; - wfRunHooks( 'XMPGetResults', array( &$data ) ); + Hooks::run( 'XMPGetResults', array( &$data ) ); if ( isset( $data['xmp-special']['AuthorsPosition'] ) && is_string( $data['xmp-special']['AuthorsPosition'] ) @@ -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();