Merge pull request #18784 from nextcloud/backport/18774/stable18

[stable18] make the mime type checker for flow available to regular users
This commit is contained in:
Roeland Jago Douma 2020-01-09 20:00:07 +01:00 committed by GitHub
commit f2575ccdb5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -154,4 +154,8 @@ class FileMimeType extends AbstractStringCheck implements IFileCheck {
public function supportedEntities(): array {
return [ File::class ];
}
public function isAvailableForScope(int $scope): bool {
return true;
}
}