Page MenuHomePhabricator

D13116.id31712.diff
No OneTemporary

D13116.id31712.diff

diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php
--- a/src/__phutil_library_map__.php
+++ b/src/__phutil_library_map__.php
@@ -3020,7 +3020,6 @@
'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 @@
'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
--- a/src/applications/phriction/constants/PhrictionActionConstants.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-final class PhrictionActionConstants extends PhrictionConstants {
-
- const ACTION_CREATE = 'create';
- const ACTION_EDIT = 'edit';
- const ACTION_DELETE = 'delete';
- const ACTION_MOVE_AWAY = 'move to';
- const ACTION_MOVE_HERE = 'move here';
-
- public static function getActionPastTenseVerb($action) {
- $map = array(
- self::ACTION_CREATE => 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));
- }
-
-}

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 27, 1:02 AM (1 h, 52 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6930677
Default Alt Text
D13116.id31712.diff (2 KB)

Event Timeline