summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--web/lib/acctfuncs.inc.php2
-rw-r--r--web/lib/pkgbasefuncs.inc.php2
2 files changed, 0 insertions, 4 deletions
diff --git a/web/lib/acctfuncs.inc.php b/web/lib/acctfuncs.inc.php
index 752abe97..b3822eaf 100644
--- a/web/lib/acctfuncs.inc.php
+++ b/web/lib/acctfuncs.inc.php
@@ -1347,7 +1347,6 @@ function notify($params) {
$descspec = array(
0 => array('pipe', 'r'),
1 => array('pipe', 'w'),
- 2 => array('pipe', 'w')
);
$p = proc_open($cmd, $descspec, $pipes);
@@ -1358,7 +1357,6 @@ function notify($params) {
fclose($pipes[0]);
fclose($pipes[1]);
- fclose($pipes[2]);
return proc_close($p);
}
diff --git a/web/lib/pkgbasefuncs.inc.php b/web/lib/pkgbasefuncs.inc.php
index 4c8abba7..4a49898c 100644
--- a/web/lib/pkgbasefuncs.inc.php
+++ b/web/lib/pkgbasefuncs.inc.php
@@ -96,7 +96,6 @@ function render_comment($id) {
$descspec = array(
0 => array('pipe', 'r'),
1 => array('pipe', 'w'),
- 2 => array('pipe', 'w')
);
$p = proc_open($cmd, $descspec, $pipes);
@@ -107,7 +106,6 @@ function render_comment($id) {
fclose($pipes[0]);
fclose($pipes[1]);
- fclose($pipes[2]);
return proc_close($p);
}