Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / meta / editor / PhabricatorApplicationEditor.php
blob83003b4c27237b0cf3b304adde60a8c9da3a3911
1 <?php
3 final class PhabricatorApplicationEditor
4 extends PhabricatorApplicationTransactionEditor {
6 public function getEditorApplicationClass() {
7 return 'PhabricatorApplicationsApplication';
10 public function getEditorObjectsDescription() {
11 return pht('Application');
14 protected function supportsSearch() {
15 return true;
18 public function getTransactionTypes() {
19 $types = parent::getTransactionTypes();
20 $types[] = PhabricatorTransactions::TYPE_VIEW_POLICY;
21 $types[] = PhabricatorTransactions::TYPE_EDIT_POLICY;
23 return $types;
26 protected function shouldSendMail(
27 PhabricatorLiskDAO $object,
28 array $xactions) {
29 return false;
32 protected function shouldPublishFeedStory(
33 PhabricatorLiskDAO $object,
34 array $xactions) {
35 return true;
38 protected function getMailTo(PhabricatorLiskDAO $object) {
39 return array();
42 protected function getMailCC(PhabricatorLiskDAO $object) {
43 return array();