diff --git a/src/applications/phame/editor/PhamePostEditor.php b/src/applications/phame/editor/PhamePostEditor.php index 8f0e2b5099..488d7a4938 100644 --- a/src/applications/phame/editor/PhamePostEditor.php +++ b/src/applications/phame/editor/PhamePostEditor.php @@ -88,7 +88,7 @@ final class PhamePostEditor } else { foreach ($xactions as $xaction) { switch ($xaction->getTransactionType()) { - case PhamePostTransaction::TYPE_VISIBILITY: + case PhamePostVisibilityTransaction::TRANSACTIONTYPE: if (!$object->isDraft() && !$object->isArchived()) { $body->addRemarkupSection(null, $object->getBody()); } diff --git a/src/applications/phame/storage/PhameBlogTransaction.php b/src/applications/phame/storage/PhameBlogTransaction.php index c5702a2b18..c605510d7d 100644 --- a/src/applications/phame/storage/PhameBlogTransaction.php +++ b/src/applications/phame/storage/PhameBlogTransaction.php @@ -26,14 +26,14 @@ final class PhameBlogTransaction case PhabricatorTransactions::TYPE_SUBSCRIBERS: $tags[] = self::MAILTAG_SUBSCRIBERS; break; - case self::TYPE_NAME: - case self::TYPE_SUBTITLE: - case self::TYPE_DESCRIPTION: - case self::TYPE_FULLDOMAIN: - case self::TYPE_PARENTSITE: - case self::TYPE_PARENTDOMAIN: - case self::TYPE_PROFILEIMAGE: - case self::TYPE_HEADERIMAGE: + case PhameBlogNameTransaction::TRANSACTIONTYPE: + case PhameBlogSubtitleTransaction::TRANSACTIONTYPE: + case PhameBlogDescriptionTransaction::TRANSACTIONTYPE: + case PhameBlogFullDomainTransaction::TRANSACTIONTYPE: + case PhameBlogParentSiteTransaction::TRANSACTIONTYPE: + case PhameBlogParentDomainTransaction::TRANSACTIONTYPE: + case PhameBlogProfileImageTransaction::TRANSACTIONTYPE: + case PhameBlogHeaderImageTransaction::TRANSACTIONTYPE: $tags[] = self::MAILTAG_DETAILS; break; default: