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:20:43 +05:30
parent ae2a9c0e66
commit e3effa63fd
@@ -46,7 +46,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;
}