X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FGitInfo.php;h=6270b27fdd3382179217016f7b5aaa02de659aea;hp=fb75c256d6ab93871df02512d82efca26b3ecee4;hb=9a37fb8e4851d13bfb208eb886c9947a7f21571c;hpb=44cdb42faf5581b2941c45d51b44c7ed236a776f 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.