more bug fixes
This commit is contained in:
parent
1dc555e078
commit
7e0a5b13b9
8 changed files with 37 additions and 14 deletions
|
|
@ -106,6 +106,25 @@ sub generateThumbnail {
|
|||
|
||||
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 getFiles ( )
|
||||
|
||||
Returns an array reference of the files in this storage location.
|
||||
|
||||
=cut
|
||||
|
||||
sub getFiles {
|
||||
my $self = shift;
|
||||
my $files = $self->SUPER::getFiles;
|
||||
my @newFiles;
|
||||
foreach my $file (@{$files}) {
|
||||
next if $file =~ /^thumb-/;
|
||||
push (@newFiles,$file);
|
||||
}
|
||||
return \@newFiles;
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 getThumbnailUrl ( filename )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue