mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-14 10:52: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
27 lines
688 B
PHP
27 lines
688 B
PHP
<?php
|
|
|
|
final class PhabricatorOwnersConfigOptions
|
|
extends PhabricatorApplicationConfigOptions {
|
|
|
|
public function getName() {
|
|
return pht("Owners");
|
|
}
|
|
|
|
public function getDescription() {
|
|
return pht("Configure Owners.");
|
|
}
|
|
|
|
public function getOptions() {
|
|
return array(
|
|
$this->newOption(
|
|
'metamta.package.reply-handler',
|
|
'class',
|
|
'OwnersPackageReplyHandler')
|
|
->setBaseClass('PhabricatorMailReplyHandler')
|
|
->setDescription(pht('Reply handler for owners mail.')),
|
|
$this->newOption('metamta.package.subject-prefix', 'string', '[Package]')
|
|
->setDescription(pht('Subject prefix for Owners email.'))
|
|
);
|
|
}
|
|
|
|
}
|