From a2e634999862cc743a17ff461edb895c4c06d969 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Sat, 7 Oct 2017 20:07:26 +0200 Subject: [PATCH] [fix] removing useless echoes from m_bro --- bureau/class/m_bro.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/bureau/class/m_bro.php b/bureau/class/m_bro.php index d6968922..409b20f5 100644 --- a/bureau/class/m_bro.php +++ b/bureau/class/m_bro.php @@ -396,7 +396,6 @@ class m_bro { global $db, $cuid, $msg; $file = ssla($file); $absolute = $this->convertabsolute($dir . "/" . $file, false); - #echo "$absolute"; if ($absolute && (!file_exists($absolute))) { if (!mkdir($absolute, 00777, true)) { $msg->raise("ERROR", "bro", _("Cannot create the requested directory. Please check the permissions")); @@ -567,7 +566,6 @@ class m_bro { $m = $m & (~ 0222); // ugo-w } $action->chmod($absolute . "/" . $d[$i], $m); - echo "chmod " . sprintf('%o', $m) . " file, was " . sprintf('%o', fileperms($absolute . "/" . $d[$i])) . " -- " . $perm[$i]['w']; } } // We'd like to *wait* for this to complete, but since this is essentially asynchronous, we can't be sure easily