mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-02 03:32:42 +01:00
4d5278af11
Summary: Ref T9252. Move these into a new "Drydock" group. Test Plan: Clicked "Add Build Step", saw Drydock steps in a Drydock group. Reviewers: chad Reviewed By: chad Maniphest Tasks: T9252 Differential Revision: https://secure.phabricator.com/D14237
25 lines
487 B
PHP
25 lines
487 B
PHP
<?php
|
|
|
|
final class HarbormasterDrydockBuildStepGroup
|
|
extends HarbormasterBuildStepGroup {
|
|
|
|
const GROUPKEY = 'harbormaster.drydock';
|
|
|
|
public function getGroupName() {
|
|
return pht('Drydock');
|
|
}
|
|
|
|
public function getGroupOrder() {
|
|
return 3000;
|
|
}
|
|
|
|
public function isEnabled() {
|
|
$drydock_class = 'PhabricatorDrydockApplication';
|
|
return PhabricatorApplication::isClassInstalled($drydock_class);
|
|
}
|
|
|
|
public function shouldShowIfEmpty() {
|
|
return false;
|
|
}
|
|
|
|
}
|