From: <var...@us...> - 2014-10-06 08:49:35
|
Revision: 9188 http://sourceforge.net/p/phpwiki/code/9188 Author: vargenau Date: 2014-10-06 08:49:28 +0000 (Mon, 06 Oct 2014) Log Message: ----------- Remove commented code Modified Paths: -------------- trunk/lib/plugin/Ploticus.php Modified: trunk/lib/plugin/Ploticus.php =================================================================== --- trunk/lib/plugin/Ploticus.php 2014-10-03 16:06:26 UTC (rev 9187) +++ trunk/lib/plugin/Ploticus.php 2014-10-06 08:49:28 UTC (rev 9188) @@ -204,8 +204,6 @@ function getImage($dbi, $argarray, $request) { - //extract($this->getArgs($argstr, $request)); - //extract($argarray); $source =& $this->source; if (!empty($source)) { if ($this->withShellCommand($source)) { @@ -253,8 +251,6 @@ $code = $this->filterThroughCmd($source, PLOTICUS_EXE . " -stdin $args"); sleep(1); } - //if (empty($code)) - // return $this->error(fmt("Couldn't start commandline “%s”", $commandLine)); if (!file_exists($tempfile . ".$gif")) { $this->_errortext .= sprintf(_("%s error: outputfile “%s” not created"), "Ploticus", "$tempfile.$gif"); @@ -278,7 +274,7 @@ } return "$tempfile.$gif"; } else { - return $this->error(fmt("empty source")); + return $this->error(_("empty source")); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |