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