From 952d2166bf5e68e7e13522ea70cf25d33938fda8 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Thu, 24 Jul 2014 11:09:37 +0200 Subject: [PATCH] Net_SFTP::_list() only takes two parameters. --- phpseclib/Net/SFTP.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpseclib/Net/SFTP.php b/phpseclib/Net/SFTP.php index d7151b58..8fd25366 100644 --- a/phpseclib/Net/SFTP.php +++ b/phpseclib/Net/SFTP.php @@ -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