mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-07 21:31:02 +01:00
20d1bb8fdf
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
49 lines
932 B
PHP
49 lines
932 B
PHP
<?php
|
|
|
|
final class PhabricatorPhrequentApplication extends PhabricatorApplication {
|
|
|
|
public function getName() {
|
|
return pht('Phrequent');
|
|
}
|
|
|
|
public function getShortDescription() {
|
|
return pht('Track Time Spent');
|
|
}
|
|
|
|
public function getBaseURI() {
|
|
return '/phrequent/';
|
|
}
|
|
|
|
public function isPrototype() {
|
|
return true;
|
|
}
|
|
|
|
public function getIcon() {
|
|
return 'fa-clock-o';
|
|
}
|
|
|
|
public function getApplicationGroup() {
|
|
return self::GROUP_UTILITIES;
|
|
}
|
|
|
|
public function getApplicationOrder() {
|
|
return 0.110;
|
|
}
|
|
|
|
public function getEventListeners() {
|
|
return array(
|
|
new PhrequentUIEventListener(),
|
|
);
|
|
}
|
|
|
|
public function getRoutes() {
|
|
return array(
|
|
'/phrequent/' => array(
|
|
'(?:query/(?P<queryKey>[^/]+)/)?' => 'PhrequentListController',
|
|
'track/(?P<verb>[a-z]+)/(?P<phid>[^/]+)/'
|
|
=> 'PhrequentTrackController',
|
|
),
|
|
);
|
|
}
|
|
|
|
}
|