r89310 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89309‎ | r89310 | r89311 >
Date:01:19, 2 June 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
fixed settings that should not be set to null
Modified paths:
  • /trunk/extensions/SemanticResultFormats/GraphViz/SRF_Graph.php (modified) (history)
  • /trunk/extensions/SemanticResultFormats/GraphViz/SRF_Process.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticResultFormats/GraphViz/SRF_Graph.php
@@ -14,6 +14,7 @@
1515 * @author Jeroen De Dauw < jeroendedauw@gmail.com >
1616 */
1717 class SRFGraph extends SMWResultPrinter {
 18+
1819 public static $NODE_SHAPES = array(
1920 'box',
2021 'box3d',
@@ -107,7 +108,6 @@
108109
109110 protected function getResultText( SMWQueryResult $res, $outputmode ) {
110111 global $wgGraphVizSettings;
111 - $wgGraphVizSettings = new GraphVizSettings;
112112 $this->isHTML = true;
113113
114114 $graphInput = "digraph $this->m_graphName {";
Index: trunk/extensions/SemanticResultFormats/GraphViz/SRF_Process.php
@@ -168,7 +168,6 @@
169169 // GraphViz settings
170170 //
171171 global $wgGraphVizSettings;
172 - $wgGraphVizSettings = new GraphVizSettings;
173172 $this->isHTML = true;
174173
175174

Status & tagging log