http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89310
Revision: 89310
Author: jeroendedauw
Date: 2011-06-02 01:19:41 +0000 (Thu, 02 Jun 2011)
Log Message:
-----------
fixed settings that should not be set to null
Modified Paths:
--------------
trunk/extensions/SemanticResultFormats/GraphViz/SRF_Graph.php
trunk/extensions/SemanticResultFormats/GraphViz/SRF_Process.php
Modified: trunk/extensions/SemanticResultFormats/GraphViz/SRF_Graph.php
===================================================================
--- trunk/extensions/SemanticResultFormats/GraphViz/SRF_Graph.php
2011-06-02 01:15:40 UTC (rev 89309)
+++ trunk/extensions/SemanticResultFormats/GraphViz/SRF_Graph.php
2011-06-02 01:19:41 UTC (rev 89310)
@@ -14,6 +14,7 @@
* @author Jeroen De Dauw < [email protected] >
*/
class SRFGraph extends SMWResultPrinter {
+
public static $NODE_SHAPES = array(
'box',
'box3d',
@@ -107,7 +108,6 @@
protected function getResultText( SMWQueryResult $res, $outputmode ) {
global $wgGraphVizSettings;
- $wgGraphVizSettings = new GraphVizSettings;
$this->isHTML = true;
$graphInput = "digraph $this->m_graphName {";
Modified: trunk/extensions/SemanticResultFormats/GraphViz/SRF_Process.php
===================================================================
--- trunk/extensions/SemanticResultFormats/GraphViz/SRF_Process.php
2011-06-02 01:15:40 UTC (rev 89309)
+++ trunk/extensions/SemanticResultFormats/GraphViz/SRF_Process.php
2011-06-02 01:19:41 UTC (rev 89310)
@@ -168,7 +168,6 @@
// GraphViz settings
//
global $wgGraphVizSettings;
- $wgGraphVizSettings = new GraphVizSettings;
$this->isHTML = true;
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs