Differential D20121 Diff 48057 src/applications/auth/storage/PhabricatorAuthProviderConfigTransaction.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/storage/PhabricatorAuthProviderConfigTransaction.php
Show All 27 Lines | final class PhabricatorAuthProviderConfigTransaction | ||||
public function getApplicationName() { | public function getApplicationName() { | ||||
return 'auth'; | return 'auth'; | ||||
} | } | ||||
public function getApplicationTransactionType() { | public function getApplicationTransactionType() { | ||||
return PhabricatorAuthAuthProviderPHIDType::TYPECONST; | return PhabricatorAuthAuthProviderPHIDType::TYPECONST; | ||||
} | } | ||||
public function getApplicationTransactionCommentObject() { | |||||
return null; | |||||
} | |||||
public function getIcon() { | public function getIcon() { | ||||
$old = $this->getOldValue(); | $old = $this->getOldValue(); | ||||
$new = $this->getNewValue(); | $new = $this->getNewValue(); | ||||
switch ($this->getTransactionType()) { | switch ($this->getTransactionType()) { | ||||
case self::TYPE_ENABLE: | case self::TYPE_ENABLE: | ||||
if ($new) { | if ($new) { | ||||
return 'fa-check'; | return 'fa-check'; | ||||
▲ Show 20 Lines • Show All 131 Lines • Show Last 20 Lines |