format
This commit is contained in:
parent
b44a4de42c
commit
d97f492aaf
2 changed files with 18 additions and 5 deletions
|
@ -38,10 +38,22 @@ class ArchiveFileHandler extends DataHandlerExtension
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function onDisplayingImage(DisplayingImageEvent $event) {}
|
public function onDisplayingImage(DisplayingImageEvent $event)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
// we don't actually do anything, just accept one upload and spawn several
|
// we don't actually do anything, just accept one upload and spawn several
|
||||||
protected function media_check_properties(MediaCheckPropertiesEvent $event): void {}
|
protected function media_check_properties(MediaCheckPropertiesEvent $event): void
|
||||||
protected function check_contents(string $tmpname): bool {return false;}
|
{
|
||||||
protected function create_thumb(string $hash, string $type): bool {return false;}
|
}
|
||||||
|
|
||||||
|
protected function check_contents(string $tmpname): bool
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
protected function create_thumb(string $hash, string $type): bool
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -252,7 +252,8 @@ class UploadTheme extends Themelet
|
||||||
";
|
";
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function get_accept() {
|
protected function get_accept()
|
||||||
|
{
|
||||||
return join(",", DataHandlerExtension::get_all_supported_exts());
|
return join(",", DataHandlerExtension::get_all_supported_exts());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue