[ticket/10851] Set disallowed content to empty array if checking is disabled

The disallowed content defaults to a standard set of mimetype triggers by
default. If one doesn't want to check the attachments mimetype triggers then
we need to set the disallowed content to an empty array.

PHPBB3-10851
Merge remote-tracking branch 'Marc/ticket/10851' into develop-olympus

* Marc/ticket/10851:
  [ticket/10851] Set disallowed content to empty array if checking is disabled