1
0
mirror of https://github.com/danog/tgseclib.git synced 2025-01-22 05:51:20 +01:00

Merge branch 'master' into php5

* master:
  Net_SFTP::_list() only takes two parameters.
This commit is contained in:
Andreas Fischer 2014-07-24 17:02:47 +02:00
commit 47695777f8

View File

@ -1504,7 +1504,7 @@ class Net_SFTP extends Net_SSH2
return false;
}
$i = 0;
$entries = $this->_list($path, true, false);
$entries = $this->_list($path, true);
if ($entries === false) {
return $this->_setstat($path, $attr, false);
@ -2138,7 +2138,7 @@ class Net_SFTP extends Net_SSH2
return false;
}
$i = 0;
$entries = $this->_list($path, true, false);
$entries = $this->_list($path, true);
// normally $entries would have at least . and .. but it might not if the directories
// permissions didn't allow reading