Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14437142
D13116.id31712.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.id31712.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
@@ -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
Details
Attached
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)
Attached To
Mode
D13116: Remove unused PhrictionActionConstants class
Attached
Detach File
Event Timeline
Log In to Comment