r112435 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r112434‎ | r112435 | r112436 >
Date:13:43, 26 February 2012
Author:nikerabbit
Status:deferred
Tags:
Comment:
->getDataValue is deprecated
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/datavalues/SMW_DV_Concept.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/datavalues/SMW_DV_Concept.php
@@ -148,7 +148,7 @@
149149 }
150150 } elseif ( $desc instanceof SMWValueDescription ) {
151151 if ( $desc->getComparator() == SMW_CMP_EQ ) {
152 - $result = SMWExporter::getDataItemExpElement( $desc->getDataValue()->getDataItem() );
 152+ $result = SMWExporter::getDataItemExpElement( $desc->getDataItem() );
153153 } else { // alas, OWL cannot represent <= and >= ...
154154 $exact = false;
155155 $result = false;