[yelp-xsl] mal-cache: Removed old code to set groups attribute in cache



commit 3ca91a4604913c1c338738d2eec32f60af3402c4
Author: Shaun McCance <shaunm gnome org>
Date:   Tue Nov 1 20:47:53 2011 -0400

    mal-cache: Removed old code to set groups attribute in cache

 xslt/mallard/cache/mal-cache.xsl |   21 ---------------------
 1 files changed, 0 insertions(+), 21 deletions(-)
---
diff --git a/xslt/mallard/cache/mal-cache.xsl b/xslt/mallard/cache/mal-cache.xsl
index 3bb3ddb..e480b66 100644
--- a/xslt/mallard/cache/mal-cache.xsl
+++ b/xslt/mallard/cache/mal-cache.xsl
@@ -61,21 +61,6 @@ mal.cache.xref
 
 
 <!--**==========================================================================
-mal.cache.groups
--->
-<xsl:template name="mal.cache.groups">
-  <xsl:param name="node" select="."/>
-  <xsl:param name="node_in"/>
-  <xsl:attribute name="groups">
-    <xsl:value-of select="$node/@groups"/>
-    <xsl:if test="not(contains(concat(' ', $node/@groups, ' '), ' #default '))">
-      <xsl:text> #default</xsl:text>
-    </xsl:if>
-  </xsl:attribute>
-</xsl:template>
-
-
-<!--**==========================================================================
 mal.cache.info
 -->
 <xsl:template name="mal.cache.info">
@@ -124,9 +109,6 @@ mal.cache.info
     <xsl:call-template name="mal.cache.id">
       <xsl:with-param name="node_in" select="$node_in"/>
     </xsl:call-template>
-    <xsl:call-template name="mal.cache.groups">
-      <xsl:with-param name="node_in" select="$node_in"/>
-    </xsl:call-template>
     <xsl:if test="@type">
       <xsl:attribute name="type">
         <xsl:value-of select="@type"/>
@@ -148,9 +130,6 @@ mal.cache.info
     <xsl:call-template name="mal.cache.id">
       <xsl:with-param name="node_in" select="$node_in"/>
     </xsl:call-template>
-    <xsl:call-template name="mal.cache.groups">
-      <xsl:with-param name="node_in" select="$node_in"/>
-    </xsl:call-template>
     <xsl:call-template name="mal.cache.info">
       <xsl:with-param name="node_in" select="$node_in"/>
     </xsl:call-template>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]