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:
Ankit Agarwal 2014-12-24 10:15:04 +05:30
parent 981f06fad5
commit 7d1e61c685

View File

@ -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;
}