rm double _precheck from rename()

This commit is contained in:
terrafrost 2021-09-15 20:23:31 -05:00
parent f6ae13a092
commit 367fede9c0

View File

@ -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) {