[mb-commits] branch, beta, updated. Fix up lurking 'DBDefs::'

MusicBrainz Git Server <[email protected]>
Newsgroups gmane.comp.audio.musicbrainz.cvs
Message-ID <E1TdOJt-0006mR-Kj@wiley>
The branch, beta has been updated
       via  http://git.musicbrainz.org/gitweb/?p=musicbrainz-server/core.git;a=commit;h=eed2499952cddd801062f27e83071d247e4c4645 (commit)
      from  http://git.musicbrainz.org/gitweb/?p=musicbrainz-server/core.git;a=commit;h=f3ec53f76a666887da99daf6d2f25bbbef0ed75f (commit)

Summary of changes:
 lib/MusicBrainz/Server/Data/FileCache.pm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit eed2499952cddd801062f27e83071d247e4c4645
Author: Ian McEwen <[email protected]>
Date:   Tue Nov 27 09:46:44 2012 -0700

    Fix up lurking 'DBDefs::'

diff --git a/lib/MusicBrainz/Server/Data/FileCache.pm b/lib/MusicBrainz/Server/Data/FileCache.pm
index d4de4aa..76eb3e9 100644
--- a/lib/MusicBrainz/Server/Data/FileCache.pm
+++ b/lib/MusicBrainz/Server/Data/FileCache.pm
@@ -45,7 +45,7 @@ sub template_signature {
     my ($self, $template) = @_;
     my $signature_key = 'template' . $template;
     unless (exists $self->file_signatures->{$signature_key}) {
-        $self->file_signatures->{$signature_key} = file_md5_hex(DBDefs::MB_SERVER_ROOT . "/root/" . $template);
+        $self->file_signatures->{$signature_key} = file_md5_hex(DBDefs->MB_SERVER_ROOT . "/root/" . $template);
     }
 
     return $self->file_signatures->{$signature_key};
@@ -72,7 +72,7 @@ sub pofile_signature {
 sub _pofile_path
 {
     my ($domain, $language) = @_;
-    return DBDefs::MB_SERVER_ROOT . "/po/" . $domain . "." . $language . ".po";
+    return DBDefs->MB_SERVER_ROOT . "/po/" . $domain . "." . $language . ".po";
 }
 
 sub _expand {

-----------------------------------------------------------------------


hooks/post-receive
-- 
mb_server
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.