mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-28 01:28:27 +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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$this->_precheck()) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
$oldname = $this->_realpath($oldname);
|
$oldname = $this->_realpath($oldname);
|
||||||
$newname = $this->_realpath($newname);
|
$newname = $this->_realpath($newname);
|
||||||
if ($oldname === false || $newname === false) {
|
if ($oldname === false || $newname === false) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user