mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-03 10:28:23 +01:00
25 lines
470 B
PHP
25 lines
470 B
PHP
|
<?php
|
||
|
|
||
|
final class PhabricatorEmailDeliverySettingsPanel
|
||
|
extends PhabricatorEditEngineSettingsPanel {
|
||
|
|
||
|
const PANELKEY = 'emaildelivery';
|
||
|
|
||
|
public function getPanelName() {
|
||
|
return pht('Email Delivery');
|
||
|
}
|
||
|
|
||
|
public function getPanelGroupKey() {
|
||
|
return PhabricatorSettingsEmailPanelGroup::PANELGROUPKEY;
|
||
|
}
|
||
|
|
||
|
public function isEditableByAdministrators() {
|
||
|
if ($this->getUser()->getIsMailingList()) {
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
return false;
|
||
|
}
|
||
|
|
||
|
}
|