Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[ljcom] r7079: LJSUP-3831: Removed tag/version from lin...

Committer: gariev
LJSUP-3831: Removed tag/version from link URL

U   trunk/cgi-bin/LJ/Hooks/Support.pm
Modified: trunk/cgi-bin/LJ/Hooks/Support.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/Support.pm	2009-02-24 09:06:54 UTC (rev 7078)
+++ trunk/cgi-bin/LJ/Hooks/Support.pm	2009-02-24 10:53:03 UTC (rev 7079)
@@ -121,7 +121,7 @@
 
 LJ::register_hook('current_version_html', sub {
     my $news_account = (LJ::SUP->is_remote_sup()) ? "ru-news" : "news";
-    my $url = "http://$news_account.$LJ::DOMAIN/tag/$LJ::CURRENT_VERSION_MAJOR";
+    my $url = "http://$news_account.$LJ::DOMAIN/";
     my $text = LJ::Lang::ml('current.version');
     return qq[<dl class="current-version"><dt><a href="$url">$text</a>:</dt><dd>v. $LJ::CURRENT_VERSION</dd></dl>];
 });

Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments