X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FGitInfo.php;h=fb298cfeed1a755061f23327a1631ba8289883d2;hb=9e4e227ea3c61b23a13bb4a5bae77a48f1941296;hp=acf1bf64a374d5f1457906bd2572c136c041cf1e;hpb=b2645d82849ca74b0e6b8df6a3e28e81d0561a58;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;