Subscribers don't need to be enabled to send emails. Closes #1994

This commit is contained in:
James Brooks
2016-12-04 17:48:50 +00:00
parent 78e53b3d1e
commit f972bf4a55
6 changed files with 25 additions and 20 deletions
-16
View File
@@ -51,22 +51,6 @@ if (!function_exists('formatted_date')) {
}
}
if (!function_exists('subscribers_enabled')) {
/**
* Is the subscriber functionality enabled and configured.
*
* @return bool
*/
function subscribers_enabled()
{
$isEnabled = Config::get('setting.enable_subscribers', false);
$mailAddress = Config::get('mail.from.address', false);
$mailFrom = Config::get('mail.from.name', false);
return $isEnabled && $mailAddress && $mailFrom;
}
}
if (!function_exists('color_darken')) {
/**
* Darken a color.