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