X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FGitInfo.php;h=fb298cfeed1a755061f23327a1631ba8289883d2;hb=2664ccdc434bb68e308f731fba587106e4cf1e73;hp=acf1bf64a374d5f1457906bd2572c136c041cf1e;hpb=a0864e85a202539a6bf3cc58336a1942edd4c6d0;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/GitInfo.php b/includes/GitInfo.php index acf1bf64a3..fb298cfeed 100644 --- a/includes/GitInfo.php +++ b/includes/GitInfo.php @@ -274,7 +274,7 @@ class GitInfo { /** * Get the URL of the remote origin. - * @return string|bool string if a URL is available or false otherwise. + * @return string|bool String if a URL is available or false otherwise. */ protected function getRemoteUrl() { if ( !isset( $this->cache['remoteURL'] ) ) { @@ -392,7 +392,7 @@ class GitInfo { if ( self::$viewers === false ) { self::$viewers = $wgGitRepositoryViewers; - wfRunHooks( 'GitViewers', array( &self::$viewers ) ); + Hooks::run( 'GitViewers', array( &self::$viewers ) ); } return self::$viewers;