Mail/mimeDecode.php library is no longer used, it's already replaced with horde_mimedecode

This commit is contained in:
Hadi Nategh 2015-04-13 15:45:47 +00:00
parent ab7ada048d
commit 7e7f22731a

View File

@ -493,19 +493,15 @@ class mail_hooks
'link'=>false,
'icon' => false
);
$showMainScreenStuff = false;
// import Message link - only when the required library is available
if ((@include_once 'Mail/mimeDecode.php') !== false)
{
$linkData = array(
'menuaction' => 'mail.mail_ui.importMessage',
);
$file += array(
'import message' => "javascript:egw_openWindowCentered2('".egw::link('/index.php', $linkData,false)."','importMessageDialog',600,100,'no','$appname');",
);
$linkData = array(
'menuaction' => 'mail.mail_ui.importMessage',
);
$file += array(
'import message' => "javascript:egw_openWindowCentered2('".egw::link('/index.php', $linkData,false)."','importMessageDialog',600,100,'no','$appname');",
);
}
// create account wizard
if (self::access('createaccount'))