diff --git a/C4/Koha.pm b/C4/Koha.pm index 06b2ec5289..789f674efb 100644 --- a/C4/Koha.pm +++ b/C4/Koha.pm @@ -573,9 +573,8 @@ sub getImageSets { my @imagesets = (); # list of hasrefs of image set data to pass to template my @subdirectories = _getSubdirectoryNames( $paths->{'staff'}{'filesystem'} ); -warn $paths->{'staff'}{'filesystem'}; foreach my $imagesubdir ( @subdirectories ) { - warn $imagesubdir; + warn $imagesubdir if $DEBUG; my @imagelist = (); # hashrefs of image info my @imagenames = _getImagesFromDirectory( File::Spec->catfile( $paths->{'staff'}{'filesystem'}, $imagesubdir ) ); my $imagesetactive = 0;