Skip to content

Commit 3b69ef0

Browse files
committed
Remove some unreachable code.
Signed-off-by: Michael Herger <michael@herger.net>
1 parent 0e1dfc2 commit 3b69ef0

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

Slim/Utils/Scanner/Local.pm

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -372,20 +372,6 @@ sub rescan {
372372
# No more paths to scan, notify API handlers and send a rescan done event
373373
else {
374374
markDone( undef, undef, $changes, $args );
375-
376-
if (main::SCANNER) {
377-
Slim::Music::Import->setIsScanning(0);
378-
379-
if ( my $handler = $pluginHandlers->{onFinishedHandler} ) {
380-
$handler->(0);
381-
}
382-
383-
Slim::Control::Request::notifyFromArray( undef, [ 'rescan', 'done' ] );
384-
385-
if ( $args->{onFinished} ) {
386-
$args->{onFinished}->();
387-
}
388-
}
389375
}
390376
}
391377
}

0 commit comments

Comments
 (0)