Merge pull request #8122 from owncloud/issue/8048

Always define sendmail_is_available in settings/admin.php
This commit is contained in:
Joas Schilling 2014-04-09 11:14:24 +02:00
commit fbb9e11a7e

View file

@ -20,9 +20,7 @@ $entries=OC_Log_Owncloud::getEntries(3);
$entriesremain = count(OC_Log_Owncloud::getEntries(4)) > 3;
// Should we display sendmail as an option?
if (findBinaryPath('sendmailsendmail')) {
$tmpl->assign('sendmail_is_available', true);
}
$tmpl->assign('sendmail_is_available', (bool) findBinaryPath('sendmailsendmail'));
$tmpl->assign('loglevel', OC_Config::getValue( "loglevel", 2 ));
$tmpl->assign('mail_domain', OC_Config::getValue( "mail_domain", '' ));