mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-09 07:10:57 +00:00
Merge pull request #422 from bantu/issue/419
Net_SFTP::_list() only takes two parameters. * bantu/issue/419: Net_SFTP::_list() only takes two parameters.
This commit is contained in:
commit
5a53823adf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user