fix liskov substitution principle in admin mail template settings, fixes #8997
Merge pull request #9003 from owncloud/fix_liskov_in_admin_mail_template_settings

fix liskov substitution principle in admin mail template settings