From 1b4ff452e52e09a039acad0aa35efa336c93a7ec Mon Sep 17 00:00:00 2001
From: matthew_swift <matthew_swift@localhost>
Date: Fri, 06 Jul 2007 08:37:04 +0000
Subject: [PATCH] Fix issue 1884: remove support for operand names in CLI profile.
---
opends/resource/admin/cliMOProfile.xsl | 25 -------------------------
1 files changed, 0 insertions(+), 25 deletions(-)
diff --git a/opends/resource/admin/cliMOProfile.xsl b/opends/resource/admin/cliMOProfile.xsl
index 370e0a4..c4f93b4 100644
--- a/opends/resource/admin/cliMOProfile.xsl
+++ b/opends/resource/admin/cliMOProfile.xsl
@@ -52,31 +52,6 @@
</xsl:if>
</xsl:for-each>
<xsl:value-of select="'
'" />
- <xsl:if test="adm:one-to-many">
- <!--
- Generate operand names for one-to-many relations.
- -->
- <xsl:variable name="operand">
- <xsl:choose>
- <xsl:when
- test="adm:profile[@name='cli']/cli:relation/@operand-name">
- <xsl:value-of
- select="adm:profile[@name='cli']/cli:relation/@operand-name" />
- </xsl:when>
- <xsl:otherwise>
- <xsl:if test="not($this-is-root)">
- <xsl:message>
- <xsl:value-of
- select="concat('relation ', @name, ' in managed object definition ', $this-name,' does not specify a CLI operand name, defaulting to NAME.')" />
- </xsl:message>
- </xsl:if>
- <xsl:value-of select="'NAME'" />
- </xsl:otherwise>
- </xsl:choose>
- </xsl:variable>
- <xsl:value-of
- select="concat('relation.', @name, '.operand-name=', $operand, '
')" />
- </xsl:if>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
--
Gitblit v1.10.0