Differential D16020 Diff 38572 src/applications/conduit/settings/PhabricatorConduitTokensSettingsPanel.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conduit/settings/PhabricatorConduitTokensSettingsPanel.php
| Show All 9 Lines | final class PhabricatorConduitTokensSettingsPanel | ||||
| public function getPanelKey() { | public function getPanelKey() { | ||||
| return 'apitokens'; | return 'apitokens'; | ||||
| } | } | ||||
| public function getPanelName() { | public function getPanelName() { | ||||
| return pht('Conduit API Tokens'); | return pht('Conduit API Tokens'); | ||||
| } | } | ||||
| public function getPanelGroup() { | public function getPanelGroupKey() { | ||||
| return pht('Sessions and Logs'); | return PhabricatorSettingsLogsPanelGroup::PANELGROUPKEY; | ||||
| } | } | ||||
| public function isEnabled() { | public function isEnabled() { | ||||
| if ($this->getUser()->getIsMailingList()) { | if ($this->getUser()->getIsMailingList()) { | ||||
| return false; | return false; | ||||
| } | } | ||||
| return true; | return true; | ||||
| ▲ Show 20 Lines • Show All 89 Lines • Show Last 20 Lines | |||||