Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15386009
D13116.id31672.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D13116.id31672.diff
View Options
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
@@ -3024,7 +3024,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',
@@ -6586,7 +6585,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
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 15, 11:51 PM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7704532
Default Alt Text
D13116.id31672.diff (2 KB)
Attached To
Mode
D13116: Remove unused PhrictionActionConstants class
Attached
Detach File
Event Timeline
Log In to Comment