From: Chad Horohoe Date: Tue, 17 Feb 2009 22:34:22 +0000 (+0000) Subject: Followup: Make the repo names 'shared-repo-name-'. Someone might name their repo... X-Git-Tag: 1.31.0-rc.0~42839 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=4f0bafc5c1adb0ed3fb92f93aced3644004ed79c;p=lhc%2Fweb%2Fwiklou.git Followup: Make the repo names 'shared-repo-name-'. Someone might name their repo 'from' and then complain. --- diff --git a/includes/filerepo/FileRepo.php b/includes/filerepo/FileRepo.php index fb586e0592..02feb041a9 100644 --- a/includes/filerepo/FileRepo.php +++ b/includes/filerepo/FileRepo.php @@ -548,8 +548,8 @@ abstract class FileRepo { if ( $this->name == 'local' ) { return null; } - $repoName = wfMsg( 'shared-repo-' . $this->name ); - if ( !wfEmptyMsg( 'shared-repo-' . $this->name, $repoName ) ) { + $repoName = wfMsg( 'shared-repo-name-' . $this->name ); + if ( !wfEmptyMsg( 'shared-repo-name-' . $this->name, $repoName ) ) { return $repoName; } return wfMsg( 'shared-repo' );