mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-27 19:54:57 +00:00
SFTP: Removed dead code
variable: $initialize = true, ironically - is initialized but never used. Feel free to deny if this is reserved for future implementation(s).
This commit is contained in:
parent
fcfc0e2c00
commit
702ade7d12
@ -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)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user