r37109 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r37108‎ | r37109 | r37110 >
Date:14:59, 5 July 2008
Author:mkroetzsch
Status:old
Tags:
Comment:
+minor code reuse
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_DV_String.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_DV_String.php
@@ -51,11 +51,7 @@
5252 }
5353
5454 public function getLongHTMLText($linker = NULL) {
55 - if (!$this->isValid()) {
56 - return $this->getErrorText();
57 - } else {
58 - return $this->getAbbValue($linker); // should be save (based on xsdvalue)
59 - }
 55+ return $this->getLongWikiText($linker); // should be save (based on xsdvalue)
6056 }
6157
6258 public function getXSDValue() {

Status & tagging log