1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-02 19:52:44 +01:00
phorge-phorge/src/applications/audit/application/PhabricatorAuditApplication.php

38 lines
758 B
PHP
Raw Normal View History

<?php
final class PhabricatorAuditApplication extends PhabricatorApplication {
public function getBaseURI() {
return '/diffusion/commit/';
}
public function getIcon() {
return 'fa-check-circle-o';
}
public function getName() {
return pht('Audit');
}
public function getShortDescription() {
return pht('Browse and Audit Commits');
}
public function canUninstall() {
// Audit was once a separate application, but has largely merged with
// Diffusion.
return false;
}
public function isPinnedByDefault(PhabricatorUser $viewer) {
return parent::isClassInstalledForViewer(
'PhabricatorDiffusionApplication',
$viewer);
}
public function getApplicationOrder() {
return 0.130;
}
}