Use setOptions() to trigger mailer option validation, not validateOptions()
This commit is contained in:
@@ -85,7 +85,7 @@ final class PhabricatorClusterMailersConfigType
|
||||
|
||||
$options = idx($spec, 'options', array());
|
||||
try {
|
||||
id(clone $adapters[$type])->validateOptions($options);
|
||||
id(clone $adapters[$type])->setOptions($options);
|
||||
} catch (Exception $ex) {
|
||||
throw $this->newException(
|
||||
pht(
|
||||
|
||||
Reference in New Issue
Block a user