Skip to content

Commit

Permalink
Merge pull request #1173 from mavit/perlimports
Browse files Browse the repository at this point in the history
Drop unused imports from Slim::Web::ImageProxy
  • Loading branch information
michaelherger authored Oct 15, 2024
2 parents 6a4944a + 61db011 commit 32b1029
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
17 changes: 17 additions & 0 deletions .perlimports.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Run `perlimports -i Slim` to tidy `use` and `require` statements.
# https://metacpan.org/dist/App-perlimports/view/script/perlimports

cache = false
ignore_modules = []
ignore_modules_filename = ""
ignore_modules_pattern = "^Tie::"
ignore_modules_pattern_filename = ""
libs = ["lib", "CPAN", "."]
log_filename = ""
log_level = "warn"
never_export_modules = []
never_export_modules_filename = ""
padding = false
preserve_duplicates = false
preserve_unused = false
tidy_whitespace = false
5 changes: 1 addition & 4 deletions Slim/Web/ImageProxy.pm
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ original artwork is of considerable size, where the bandwidth to download the im
=cut

use strict;
use Digest::MD5;
use File::Spec::Functions qw(catdir);
use File::Slurp ();
use HTTP::Status qw(
RC_MOVED_PERMANENTLY
);
Expand Down Expand Up @@ -551,4 +548,4 @@ sub cleanup {
Slim::Utils::Timers::setTimer( undef, $now + ($interval || PURGE_INTERVAL), \&cleanup );
}

1;
1;

0 comments on commit 32b1029

Please sign in to comment.