mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 00:02:41 +01:00
c2a70932e3
Summary: Port MetaMTA options for Owners, Pholio and Macro. At some point I'd like to get rid of all these options (provide one "reply domain", and not allow overrides of reply handlers -- use events instead) but that's a battle we can fight later. Test Plan: Looked at options, looked at setup issues, edited something. Reviewers: codeblock, btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T2255 Differential Revision: https://secure.phabricator.com/D4469
24 lines
630 B
PHP
24 lines
630 B
PHP
<?php
|
|
|
|
final class PhabricatorMacroConfigOptions
|
|
extends PhabricatorApplicationConfigOptions {
|
|
|
|
public function getName() {
|
|
return pht("Macro");
|
|
}
|
|
|
|
public function getDescription() {
|
|
return pht("Configure Macro.");
|
|
}
|
|
|
|
public function getOptions() {
|
|
return array(
|
|
$this->newOption('metamta.macro.reply-handler-domain', 'string', null)
|
|
->setDescription(pht(
|
|
'As {{metamta.maniphest.reply-handler-domain}}, but affects Macro.')),
|
|
$this->newOption('metamta.macro.subject-prefix', 'string', '[Macro]')
|
|
->setDescription(pht('Subject prefix for Macro email.'))
|
|
);
|
|
}
|
|
|
|
}
|