[dw-free] Missing configuration variable $LJ::LAST_FM_USER_URL
[commit: http://hg.dwscoalition.org/dw-free/rev/d6ad9a264894]
http://bugs.dwscoalition.org/show_bug.cgi?id=587
Hardcode the username link format, since it's unlikely to change.
Patch by
rho.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=587
Hardcode the username link format, since it's unlikely to change.
Patch by
Files modified:
- cgi-bin/DW/Logic/ProfilePage.pm
--------------------------------------------------------------------------------
diff -r 5d53171dcf09 -r d6ad9a264894 cgi-bin/DW/Logic/ProfilePage.pm
--- a/cgi-bin/DW/Logic/ProfilePage.pm Mon Jun 29 15:14:31 2009 +0000
+++ b/cgi-bin/DW/Logic/ProfilePage.pm Mon Jun 29 15:18:47 2009 +0000
@@ -800,7 +800,7 @@ sub external_services {
if ( my $lastfm = $u->prop( 'last_fm_user' ) ) {
my $elastfm = LJ::eurl( $lastfm );
- my $lastfm_url = $LJ::LAST_FM_USER_URL;
+ my $lastfm_url = 'http://www.last.fm/user/%username%';
$lastfm_url =~ s/%username%/$elastfm/g;
push @ret, {
type => 'lastfm',
--------------------------------------------------------------------------------
