1
0
mirror of https://github.com/danog/tgseclib.git synced 2024-11-30 04:39:02 +01:00

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;
}
$initialize = true;
// http://tools.ietf.org/html/draft-ietf-secsh-filexfer-13#section-8.2.3
if ($mode & NET_SFTP_LOCAL_FILE) {
if (!is_file($data)) {