mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 20:40:56 +01:00
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
This commit is contained in:
parent
446611e2e3
commit
c26ea062d1
2 changed files with 0 additions and 25 deletions
|
@ -3020,7 +3020,6 @@ phutil_register_library_map(array(
|
||||||
'PhrequentUIEventListener' => 'applications/phrequent/event/PhrequentUIEventListener.php',
|
'PhrequentUIEventListener' => 'applications/phrequent/event/PhrequentUIEventListener.php',
|
||||||
'PhrequentUserTime' => 'applications/phrequent/storage/PhrequentUserTime.php',
|
'PhrequentUserTime' => 'applications/phrequent/storage/PhrequentUserTime.php',
|
||||||
'PhrequentUserTimeQuery' => 'applications/phrequent/query/PhrequentUserTimeQuery.php',
|
'PhrequentUserTimeQuery' => 'applications/phrequent/query/PhrequentUserTimeQuery.php',
|
||||||
'PhrictionActionConstants' => 'applications/phriction/constants/PhrictionActionConstants.php',
|
|
||||||
'PhrictionChangeType' => 'applications/phriction/constants/PhrictionChangeType.php',
|
'PhrictionChangeType' => 'applications/phriction/constants/PhrictionChangeType.php',
|
||||||
'PhrictionConduitAPIMethod' => 'applications/phriction/conduit/PhrictionConduitAPIMethod.php',
|
'PhrictionConduitAPIMethod' => 'applications/phriction/conduit/PhrictionConduitAPIMethod.php',
|
||||||
'PhrictionConstants' => 'applications/phriction/constants/PhrictionConstants.php',
|
'PhrictionConstants' => 'applications/phriction/constants/PhrictionConstants.php',
|
||||||
|
@ -6581,7 +6580,6 @@ phutil_register_library_map(array(
|
||||||
'PhabricatorPolicyInterface',
|
'PhabricatorPolicyInterface',
|
||||||
),
|
),
|
||||||
'PhrequentUserTimeQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
'PhrequentUserTimeQuery' => 'PhabricatorCursorPagedPolicyAwareQuery',
|
||||||
'PhrictionActionConstants' => 'PhrictionConstants',
|
|
||||||
'PhrictionChangeType' => 'PhrictionConstants',
|
'PhrictionChangeType' => 'PhrictionConstants',
|
||||||
'PhrictionConduitAPIMethod' => 'ConduitAPIMethod',
|
'PhrictionConduitAPIMethod' => 'ConduitAPIMethod',
|
||||||
'PhrictionContent' => array(
|
'PhrictionContent' => array(
|
||||||
|
|
|
@ -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));
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in a new issue