From 386d2b62f819fd0cb6e2373417b85688d5ea8a1e Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 4 Aug 2015 07:32:19 -0700 Subject: [PATCH] Fix some copy/paste slop with BLOCK actions in Herald transcripts Summary: Fixes T9060. These actions still work fine, but the transcripts got messed up a bit. Test Plan: Viewed transcripts with blocking actions. Reviewers: chad Reviewed By: chad Maniphest Tasks: T9060 Differential Revision: https://secure.phabricator.com/D13782 --- .../differential/herald/DifferentialBlockHeraldAction.php | 2 +- .../diffusion/herald/DiffusionBlockHeraldAction.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/applications/differential/herald/DifferentialBlockHeraldAction.php b/src/applications/differential/herald/DifferentialBlockHeraldAction.php index b43e415b13..33ad4a3480 100644 --- a/src/applications/differential/herald/DifferentialBlockHeraldAction.php +++ b/src/applications/differential/herald/DifferentialBlockHeraldAction.php @@ -49,7 +49,7 @@ final class DifferentialBlockHeraldAction protected function renderActionEffectDescription($type, $data) { switch ($type) { - case self::DO_ADD_AUDITORS: + case self::DO_BLOCK: return pht('Blocked diff.'); } } diff --git a/src/applications/diffusion/herald/DiffusionBlockHeraldAction.php b/src/applications/diffusion/herald/DiffusionBlockHeraldAction.php index 4b56500b65..32656d78fe 100644 --- a/src/applications/diffusion/herald/DiffusionBlockHeraldAction.php +++ b/src/applications/diffusion/herald/DiffusionBlockHeraldAction.php @@ -49,7 +49,7 @@ final class DiffusionBlockHeraldAction protected function renderActionEffectDescription($type, $data) { switch ($type) { - case self::DO_ADD_AUDITORS: + case self::DO_BLOCK: return pht('Blocked push.'); } }