mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-08 23:00:58 +00:00
rm double _precheck from rename()
This commit is contained in:
parent
f6ae13a092
commit
367fede9c0
@ -3106,10 +3106,6 @@ class Net_SFTP extends Net_SSH2
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!$this->_precheck()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$oldname = $this->_realpath($oldname);
|
||||
$newname = $this->_realpath($newname);
|
||||
if ($oldname === false || $newname === false) {
|
||||
|
Loading…
Reference in New Issue
Block a user