mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Email fluent API regression (fixes #2581)
This commit is contained in:
parent
39efaca54f
commit
6f02c5bd98
@ -551,8 +551,6 @@ class Email extends ViewableData {
|
||||
public static function setAdminEmail($newEmail) {
|
||||
Deprecation::notice('3.2', 'Use the "Email.admin_email" config setting instead');
|
||||
Config::inst()->update('Email', 'admin_email', $newEmail);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user