Merge pull request #176 from phonzie/patch-4

SFTP: Removed dead code

* phonzie/patch-4:
  SFTP: Removed dead code
This commit is contained in:
Andreas Fischer 2013-11-20 21:13:46 +01:00
commit 62aafecccc

View File

@ -1506,8 +1506,6 @@ class Net_SFTP extends Net_SSH2 {
return false; return false;
} }
$initialize = true;
// http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.2.3 // http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.2.3
if ($mode & NET_SFTP_LOCAL_FILE) { if ($mode & NET_SFTP_LOCAL_FILE) {
if (!is_file($data)) { if (!is_file($data)) {