refactor
This commit is contained in:
parent
72286c865f
commit
8e41f71e70
@ -468,12 +468,14 @@ void base_provider::remove_deleted_files(bool source_only) {
|
||||
|
||||
event_system::instance().raise<orphaned_source_file_detected>(
|
||||
source_file->get_path());
|
||||
if (source_file->remove()) {
|
||||
if (not source_file->remove()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
event_system::instance().raise<orphaned_source_file_removed>(
|
||||
source_file->get_path());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (source_only) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user