Summary: Provide an implementation for the `getName` method rather than automagically determining the application name. Test Plan: Saw reasonable application names in the launcher. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D10027
26 lines
432 B
PHP
26 lines
432 B
PHP
<?php
|
|
|
|
final class PhabricatorSupportApplication extends PhabricatorApplication {
|
|
|
|
public function getName() {
|
|
return pht('Support');
|
|
}
|
|
|
|
public function canUninstall() {
|
|
return false;
|
|
}
|
|
|
|
public function isUnlisted() {
|
|
return true;
|
|
}
|
|
|
|
public function getRoutes() {
|
|
return array(
|
|
'/help/' => array(
|
|
'keyboardshortcut/' => 'PhabricatorHelpKeyboardShortcutController',
|
|
),
|
|
);
|
|
}
|
|
|
|
}
|