From 46ae0da31468184abcf5d8f789ddfe55658d1c7e Mon Sep 17 00:00:00 2001 From: terrafrost Date: Mon, 26 May 2014 15:42:14 -0500 Subject: [PATCH] SFTP: fix syntax error --- phpseclib/Net/SFTP/Stream.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpseclib/Net/SFTP/Stream.php b/phpseclib/Net/SFTP/Stream.php index 7b197ee7..dfb3a5a9 100644 --- a/phpseclib/Net/SFTP/Stream.php +++ b/phpseclib/Net/SFTP/Stream.php @@ -209,7 +209,7 @@ class Net_SFTP_Stream $this->sftp = self::$instances[$host][$port][$user][(string) $pass]; } else { $this->sftp = new Net_SFTP($host, $port); - $this->disableStatCache(); + $this->sftp->disableStatCache(); if (isset($this->notification) && is_callable($this->notification)) { /* if !is_callable($this->notification) we could do this: