diff --git a/email/Email.php b/email/Email.php index 612bbd54a..c0518e9e6 100755 --- a/email/Email.php +++ b/email/Email.php @@ -384,6 +384,8 @@ class Email extends ViewableData { if(trim($headers['Bcc'])) $headers['Bcc'] .= ', '; $headers['Bcc'] .= self::$bcc_all_emails_to; } + + Requirements::restore(); return self::mailer()->sendPlain($to, $this->from, $subject, $this->body, $this->attachments, $headers); } @@ -748,4 +750,4 @@ class Email_BlackList extends DataObject{ } } -?> \ No newline at end of file +?> diff --git a/integration/Geoip.php b/integration/Geoip.php index 5187f8859..ca633fabb 100755 --- a/integration/Geoip.php +++ b/integration/Geoip.php @@ -398,4 +398,4 @@ class Geoip extends Object { } } -?> \ No newline at end of file +?> diff --git a/security/Group.php b/security/Group.php index eaea13c6e..c501823ff 100644 --- a/security/Group.php +++ b/security/Group.php @@ -317,4 +317,4 @@ class Group extends DataObject { } } -?> \ No newline at end of file +?> diff --git a/security/Member.php b/security/Member.php index d6c2ec051..37caab7a3 100644 --- a/security/Member.php +++ b/security/Member.php @@ -1432,4 +1432,4 @@ class Member_Validator extends RequiredFields { // algorithms to the PasswordEncryption Enum field Member::init_db_fields(); -?> \ No newline at end of file +?> diff --git a/security/MemberLoginForm.php b/security/MemberLoginForm.php index b3ee8a03c..58f068fc8 100644 --- a/security/MemberLoginForm.php +++ b/security/MemberLoginForm.php @@ -227,4 +227,4 @@ class MemberLoginForm extends LoginForm { } -?> \ No newline at end of file +?> diff --git a/security/Security.php b/security/Security.php index 3b3530399..d4e212c93 100644 --- a/security/Security.php +++ b/security/Security.php @@ -980,4 +980,4 @@ class Security extends Controller { } -?> \ No newline at end of file +?>