[Slashdotjp-dev 1017] [544] Minor fix: not to use variable

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2008年 3月 10日 (月) 16:17:05 JST


Revision: 544
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=544
Author:   tach
Date:     2008-03-10 16:17:05 +0900 (Mon, 10 Mar 2008)

Log Message:
-----------
Minor fix: not to use variable

Modified Paths:
--------------
    slashjp/branches/2.5.0.192/Slash/XML/RSS/RSS.pm


-------------- next part --------------
Modified: slashjp/branches/2.5.0.192/Slash/XML/RSS/RSS.pm
===================================================================
--- slashjp/branches/2.5.0.192/Slash/XML/RSS/RSS.pm	2008-03-10 07:01:45 UTC (rev 543)
+++ slashjp/branches/2.5.0.192/Slash/XML/RSS/RSS.pm	2008-03-10 07:17:05 UTC (rev 544)
@@ -577,8 +577,7 @@
 sub _tag_link {
 	my($link) = @_;
 	my $uri = URI->new($link);
-	my $constants = getCurrentStatic();
-	if (!$constants->{rss_no_tracking_query}) {
+	if (!getCurrentStatic('rss_no_tracking_query')) {
 		if (my $orig_query = $uri->query) {
 			$uri->query("$orig_query&from=rss");
 		} else {


Slashdotjp-dev メーリングリストの案内
Back to archive index