remove WebGUI::Utility::isIn
This commit is contained in:
parent
0e754a51e4
commit
6aa26c2e44
61 changed files with 126 additions and 148 deletions
|
|
@ -121,7 +121,7 @@ sub addFiles {
|
|||
print "\tAdding ".$file->{fullPathFile}." to the database.\n" unless ($quiet);
|
||||
|
||||
# Figure out whether the file is an image or not by its extension.
|
||||
if (isIn(lc($file->{ext}),@nailable)) {
|
||||
if (lc($file->{ext}) ~~ @nailable) {
|
||||
$class = 'WebGUI::Asset::File::Image';
|
||||
$templateId = 'PBtmpl0000000000000088';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue