mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Use setOptions() to trigger mailer option validation, not validateOptions()
This commit is contained in:
parent
09b446b269
commit
d45952344b
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ final class PhabricatorClusterMailersConfigType
|
||||||
|
|
||||||
$options = idx($spec, 'options', array());
|
$options = idx($spec, 'options', array());
|
||||||
try {
|
try {
|
||||||
id(clone $adapters[$type])->validateOptions($options);
|
id(clone $adapters[$type])->setOptions($options);
|
||||||
} catch (Exception $ex) {
|
} catch (Exception $ex) {
|
||||||
throw $this->newException(
|
throw $this->newException(
|
||||||
pht(
|
pht(
|
||||||
|
|
Loading…
Reference in a new issue