Skip to content

Commit 4d79859

Browse files
committed
* remove track_errors ini fiddling, was a PHP bug that should be fixed now
1 parent 1656048 commit 4d79859

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

pear/PEAR/Registry.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,9 +271,7 @@ function _lock($mode = LOCK_EX)
271271
$open_mode = 'r';
272272
}
273273

274-
@ini_set('track_errors', true);
275274
$this->lock_fp = @fopen($this->lockfile, $open_mode);
276-
@ini_restore('track_errors');
277275

278276
if (!is_resource($this->lock_fp)) {
279277
return $this->raiseError("could not create lock file" .
@@ -689,4 +687,4 @@ function setPackageDep($package, $new_version, $rel_deps = array())
689687
// }}}
690688
}
691689

692-
?>
690+
?>

0 commit comments

Comments
 (0)