mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-08 12:58:31 +01:00
Summary: Ref T12136. This just yanks the band-aid off. Fundamentally these were useful well before Dashboards and advanced bucketing, but not so much any more. They also have some performance hit. Test Plan: Add some tasks and diffs onto a new instance, see there is no count on the home menu bar. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T12136 Differential Revision: https://secure.phabricator.com/D17238
46 lines
991 B
PHP
46 lines
991 B
PHP
<?php
|
|
|
|
final class PhabricatorFlagsApplication extends PhabricatorApplication {
|
|
|
|
public function getName() {
|
|
return pht('Flags');
|
|
}
|
|
|
|
public function getShortDescription() {
|
|
return pht('Personal Bookmarks');
|
|
}
|
|
|
|
public function getBaseURI() {
|
|
return '/flag/';
|
|
}
|
|
|
|
public function getIcon() {
|
|
return 'fa-flag';
|
|
}
|
|
|
|
public function getEventListeners() {
|
|
return array(
|
|
new PhabricatorFlagsUIEventListener(),
|
|
);
|
|
}
|
|
|
|
public function getTitleGlyph() {
|
|
return "\xE2\x9A\x90";
|
|
}
|
|
|
|
public function getApplicationGroup() {
|
|
return self::GROUP_UTILITIES;
|
|
}
|
|
|
|
public function getRoutes() {
|
|
return array(
|
|
'/flag/' => array(
|
|
'(?:query/(?P<queryKey>[^/]+)/)?' => 'PhabricatorFlagListController',
|
|
'view/(?P<view>[^/]+)/' => 'PhabricatorFlagListController',
|
|
'edit/(?P<phid>[^/]+)/' => 'PhabricatorFlagEditController',
|
|
'delete/(?P<id>[1-9]\d*)/' => 'PhabricatorFlagDeleteController',
|
|
),
|
|
);
|
|
}
|
|
|
|
}
|