From c26ea062d1fb2b9fc35b44020a278608a12cb387 Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Wed, 3 Jun 2015 20:23:07 +1000 Subject: [PATCH] Remove unused PhrictionActionConstants class Summary: This class is no longer used since D10792. Test Plan: `grep` Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D13116 --- src/__phutil_library_map__.php | 2 -- .../constants/PhrictionActionConstants.php | 23 ------------------- 2 files changed, 25 deletions(-) delete mode 100644 src/applications/phriction/constants/PhrictionActionConstants.php diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php index aa46ac9988..8f322f70c9 100644 --- a/src/__phutil_library_map__.php +++ b/src/__phutil_library_map__.php @@ -3020,7 +3020,6 @@ phutil_register_library_map(array( 'PhrequentUIEventListener' => 'applications/phrequent/event/PhrequentUIEventListener.php', 'PhrequentUserTime' => 'applications/phrequent/storage/PhrequentUserTime.php', 'PhrequentUserTimeQuery' => 'applications/phrequent/query/PhrequentUserTimeQuery.php', - 'PhrictionActionConstants' => 'applications/phriction/constants/PhrictionActionConstants.php', 'PhrictionChangeType' => 'applications/phriction/constants/PhrictionChangeType.php', 'PhrictionConduitAPIMethod' => 'applications/phriction/conduit/PhrictionConduitAPIMethod.php', 'PhrictionConstants' => 'applications/phriction/constants/PhrictionConstants.php', @@ -6581,7 +6580,6 @@ phutil_register_library_map(array( 'PhabricatorPolicyInterface', ), 'PhrequentUserTimeQuery' => 'PhabricatorCursorPagedPolicyAwareQuery', - 'PhrictionActionConstants' => 'PhrictionConstants', 'PhrictionChangeType' => 'PhrictionConstants', 'PhrictionConduitAPIMethod' => 'ConduitAPIMethod', 'PhrictionContent' => array( diff --git a/src/applications/phriction/constants/PhrictionActionConstants.php b/src/applications/phriction/constants/PhrictionActionConstants.php deleted file mode 100644 index f39691181e..0000000000 --- a/src/applications/phriction/constants/PhrictionActionConstants.php +++ /dev/null @@ -1,23 +0,0 @@ - pht('created'), - self::ACTION_EDIT => pht('edited'), - self::ACTION_DELETE => pht('deleted'), - self::ACTION_MOVE_AWAY => pht('moved'), - self::ACTION_MOVE_HERE => pht('moved'), - ); - - return idx($map, $action, pht("brazenly %s'd", $action)); - } - -}