X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FGitInfo.php;h=6270b27fdd3382179217016f7b5aaa02de659aea;hb=6f7e982df6479e27c3b17f2deda8404ef55f50e6;hp=fb75c256d6ab93871df02512d82efca26b3ecee4;hpb=3b7f4539639b3899e246e245df481882f81f9340;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/GitInfo.php b/includes/GitInfo.php index fb75c256d6..6270b27fdd 100644 --- a/includes/GitInfo.php +++ b/includes/GitInfo.php @@ -306,9 +306,9 @@ class GitInfo { $config = "{$this->basedir}/config"; $url = false; if ( is_readable( $config ) ) { - MediaWiki\suppressWarnings(); + Wikimedia\suppressWarnings(); $configArray = parse_ini_file( $config, true ); - MediaWiki\restoreWarnings(); + Wikimedia\restoreWarnings(); $remote = false; // Use the "origin" remote repo if available or any other repo if not.