mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Merge pull request #8123 from nextcloud/backport/8118/stable-3.16
[stable-3.16] remove costly availability check that is never used
This commit is contained in:
commit
72b96019a3
@ -107,7 +107,6 @@ void PropagateLocalRemove::start()
|
||||
}
|
||||
|
||||
QString removeError;
|
||||
const auto availability = propagator()->syncOptions()._vfs->availability(_item->_file, Vfs::AvailabilityRecursivity::RecursiveAvailability);
|
||||
if (_moveToTrash && propagator()->syncOptions()._vfs->mode() != OCC::Vfs::WindowsCfApi) {
|
||||
if ((QDir(filename).exists() || FileSystem::fileExists(filename))
|
||||
&& !FileSystem::moveToTrash(filename, &removeError)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user