* Mail: Fix pdf attachments do not get downloaded in mobile template

This commit is contained in:
Hadi Nategh 2016-08-31 12:10:26 +02:00
parent d5aa61671f
commit d8761441b1

View File

@ -200,7 +200,7 @@ class Link extends Link\Storage
if (Header\UserAgent::type() == 'firefox' && $GLOBALS['egw_info']['user']['preferences']['common']['theme'] == 'mobile' ||
Header\UserAgent::mobile())
{
unset(self::$app_register['home']['mime']['application/pdf']);
unset(self::$app_register['api']['mime']['application/pdf']);
}
// other apps can participate in the linking by implementing a search_link hook, which
// has to return an array in the format of an app_register entry