mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-48701 inbound: Use correct method in invalid email handler
Invalid email handler doesn't allow alteration in validate sender config. Make sure this is reflected in the UI as well
This commit is contained in:
parent
981f06fad5
commit
7d1e61c685
@ -44,7 +44,7 @@ class invalid_recipient_handler extends \core\message\inbound\handler {
|
||||
/**
|
||||
* Do not allow changes to the address validation setting.
|
||||
*/
|
||||
public function allow_validateaddress_change() {
|
||||
public function can_change_validateaddress() {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user