mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 08:12:40 +01:00
b0623305b7
Summary: Add some missing methods from D10027. Test Plan: Viewed `/applications/query/all/` without hitting exceptions. Reviewers: joshuaspence Subscribers: epriestley, hach-que Differential Revision: https://secure.phabricator.com/D10029
50 lines
926 B
PHP
50 lines
926 B
PHP
<?php
|
|
|
|
final class PhabricatorMetaMTAApplication extends PhabricatorApplication {
|
|
|
|
public function getName() {
|
|
return pht('MetaMTA');
|
|
}
|
|
|
|
public function getIconName() {
|
|
return 'metamta';
|
|
}
|
|
|
|
public function getShortDescription() {
|
|
return pht('Delivers Mail');
|
|
}
|
|
|
|
public function getFlavorText() {
|
|
return pht('Yo dawg, we heard you like MTAs.');
|
|
}
|
|
|
|
public function getApplicationGroup() {
|
|
return self::GROUP_ADMIN;
|
|
}
|
|
|
|
public function canUninstall() {
|
|
return false;
|
|
}
|
|
|
|
public function isLaunchable() {
|
|
return false;
|
|
}
|
|
|
|
public function getTypeaheadURI() {
|
|
return null;
|
|
}
|
|
|
|
public function getRoutes() {
|
|
return array(
|
|
'/mail/' => array(
|
|
'sendgrid/' => 'PhabricatorMetaMTASendGridReceiveController',
|
|
'mailgun/' => 'PhabricatorMetaMTAMailgunReceiveController',
|
|
),
|
|
);
|
|
}
|
|
|
|
public function getTitleGlyph() {
|
|
return '@';
|
|
}
|
|
|
|
}
|