]> sipb.mit.edu Git - ikiwiki.git/commitdiff
elide temp var
authorJoey Hess <joey@kodama.kitenet.net>
Sat, 12 Jul 2008 14:49:12 +0000 (10:49 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Sat, 12 Jul 2008 14:49:12 +0000 (10:49 -0400)
IkiWiki/Plugin/inline.pm

index 9a63ea1c95cd11f9fdaa89da7d3e97ae08b8d2df..2226e5723d3fb1905140ea88861406480ec42f3f 100644 (file)
@@ -444,9 +444,7 @@ sub genfeed ($$$$@) { #{{{
 
                if (exists $pagestate{$p} &&
                    exists $pagestate{$p}{meta}{uuid}) {
-                       my $atom_id = $pagestate{$p}{meta}{uuid};
-
-                       $itemtemplate->param(uuid => $atom_id);
+                       $itemtemplate->param(uuid => $pagestate{$p}{meta}{uuid});
                }
 
                if ($itemtemplate->query(name => "enclosure")) {