same for archive handler
git-svn-id: file:///home/shish/svn/shimmie2/trunk@774 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
parent
d55f97c81f
commit
935c235e63
@ -35,11 +35,7 @@ class ArchiveFileHandler extends Extension {
|
||||
|
||||
private function supported_ext($ext) {
|
||||
$exts = array("zip");
|
||||
$ext = strtolower($ext);
|
||||
foreach($exts as $supported) {
|
||||
if($ext == $supported) return true;
|
||||
}
|
||||
return false;
|
||||
return array_contains($exts, strtolower($ext));
|
||||
}
|
||||
|
||||
// copied from bulk add extension
|
||||
|
Loading…
x
Reference in New Issue
Block a user