Changeset View
Changeset View
Standalone View
Standalone View
src/applications/settings/panel/PhabricatorActivitySettingsPanel.php
| <?php | <?php | ||||
| final class PhabricatorActivitySettingsPanel extends PhabricatorSettingsPanel { | final class PhabricatorActivitySettingsPanel extends PhabricatorSettingsPanel { | ||||
| public function isEditableByAdministrators() { | public function isEditableByAdministrators() { | ||||
| return true; | return true; | ||||
| } | } | ||||
| public function getPanelKey() { | public function getPanelKey() { | ||||
| return 'activity'; | return 'activity'; | ||||
| } | } | ||||
| public function getPanelName() { | public function getPanelName() { | ||||
| return pht('Activity Logs'); | return pht('Activity Logs'); | ||||
| } | } | ||||
| public function getPanelGroup() { | public function getPanelGroupKey() { | ||||
| return pht('Sessions and Logs'); | return PhabricatorSettingsLogsPanelGroup::PANELGROUPKEY; | ||||
| } | |||||
| public function isEnabled() { | |||||
| return true; | |||||
| } | } | ||||
| public function processRequest(AphrontRequest $request) { | public function processRequest(AphrontRequest $request) { | ||||
| $viewer = $request->getUser(); | $viewer = $request->getUser(); | ||||
| $user = $this->getUser(); | $user = $this->getUser(); | ||||
| $pager = id(new AphrontCursorPagerView()) | $pager = id(new AphrontCursorPagerView()) | ||||
| ->readFromRequest($request); | ->readFromRequest($request); | ||||
| Show All 38 Lines | |||||