Skip to content

Commit f44433c

Browse files
committed
Update GraphViz.php
Removed debugging echos in display method
1 parent d0d548a commit f44433c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/Fhaculty/Graph/GraphViz.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,12 +128,12 @@ public function display()
128128
static $next = 0;
129129
if ($next > microtime(true)) {
130130
// wait some time between calling xdg-open because earlier calls will be ignored otherwise
131-
echo '[delay flooding xdg-open]' . PHP_EOL;
131+
//echo '[delay flooding xdg-open]' . PHP_EOL;
132132
sleep(self::DELAY_OPEN);
133133
}
134134

135135
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
136-
echo "ausgabe\n";
136+
//echo "ausgabe\n";
137137
exec($tmp . ' >NUL');
138138
} elseif (strtoupper(PHP_OS) === 'DARWIN') {
139139
// open image in background (redirect stdout to /dev/null, sterr to stdout and run in background)

0 commit comments

Comments
 (0)