1
0
şunun yansıması https://github.com/nextcloud/server.git eşitlendi 2024-07-29 20:15:55 +02:00

Always define sendmail_is_available

Fix #8048
Bu işleme şunda yer alıyor:
Joas Schilling 2014-04-09 10:18:46 +02:00
ebeveyn 796f719548
işleme e79a027e77

Dosyayı Görüntüle

@ -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", '' ));