X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FWebRequest.php;h=6bdcc8718629ccd8ed7a55e5da74cdab545cc971;hb=659f42c2575c63df246558bd66f60052cbc79ef5;hp=a5fd9d8fb0508871bc131f76284780b29ef809bb;hpb=d864012f338917db791c234675ab7a5b427ade98;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/WebRequest.php b/includes/WebRequest.php index a5fd9d8fb0..6bdcc87186 100644 --- a/includes/WebRequest.php +++ b/includes/WebRequest.php @@ -104,9 +104,9 @@ class WebRequest { if ( !preg_match( '!^https?://!', $url ) ) { $url = 'http://unused' . $url; } - wfSuppressWarnings(); + MediaWiki\suppressWarnings(); $a = parse_url( $url ); - wfRestoreWarnings(); + MediaWiki\restoreWarnings(); if ( $a ) { $path = isset( $a['path'] ) ? $a['path'] : '';