X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FGitInfo.php;h=7f05bb0fd7c405700c99dec83528a7012acc39bf;hb=3a1104b374d209ffa627b48dd2f3a26d0af859ab;hp=fb298cfeed1a755061f23327a1631ba8289883d2;hpb=a300fabb68430e6204eebceb2af9ddbffd72017a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/GitInfo.php b/includes/GitInfo.php index fb298cfeed..7f05bb0fd7 100644 --- a/includes/GitInfo.php +++ b/includes/GitInfo.php @@ -281,9 +281,9 @@ class GitInfo { $config = "{$this->basedir}/config"; $url = false; if ( is_readable( $config ) ) { - wfSuppressWarnings(); + MediaWiki\suppressWarnings(); $configArray = parse_ini_file( $config, true ); - wfRestoreWarnings(); + MediaWiki\restoreWarnings(); $remote = false; // Use the "origin" remote repo if available or any other repo if not.