SFTP: rm redundant code

This commit is contained in:
terrafrost 2023-05-07 11:07:38 -05:00
parent f664ccb521
commit 89d8e6ecbb

View File

@ -545,8 +545,6 @@ class SFTP extends SSH2
*/
private function partial_init_sftp_connection()
{
$this->window_size_server_to_client[self::CHANNEL] = $this->window_size;
$response = $this->openChannel(self::CHANNEL, true);
if ($response === true && $this->isTimeout()) {
return false;