@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

-25
-2
src/__phutil_library_map__.php
··· 3020 3020 'PhrequentUIEventListener' => 'applications/phrequent/event/PhrequentUIEventListener.php', 3021 3021 'PhrequentUserTime' => 'applications/phrequent/storage/PhrequentUserTime.php', 3022 3022 'PhrequentUserTimeQuery' => 'applications/phrequent/query/PhrequentUserTimeQuery.php', 3023 - 'PhrictionActionConstants' => 'applications/phriction/constants/PhrictionActionConstants.php', 3024 3023 'PhrictionChangeType' => 'applications/phriction/constants/PhrictionChangeType.php', 3025 3024 'PhrictionConduitAPIMethod' => 'applications/phriction/conduit/PhrictionConduitAPIMethod.php', 3026 3025 'PhrictionConstants' => 'applications/phriction/constants/PhrictionConstants.php', ··· 6581 6580 'PhabricatorPolicyInterface', 6582 6581 ), 6583 6582 'PhrequentUserTimeQuery' => 'PhabricatorCursorPagedPolicyAwareQuery', 6584 - 'PhrictionActionConstants' => 'PhrictionConstants', 6585 6583 'PhrictionChangeType' => 'PhrictionConstants', 6586 6584 'PhrictionConduitAPIMethod' => 'ConduitAPIMethod', 6587 6585 'PhrictionContent' => array(
-23
src/applications/phriction/constants/PhrictionActionConstants.php
··· 1 - <?php 2 - 3 - final class PhrictionActionConstants extends PhrictionConstants { 4 - 5 - const ACTION_CREATE = 'create'; 6 - const ACTION_EDIT = 'edit'; 7 - const ACTION_DELETE = 'delete'; 8 - const ACTION_MOVE_AWAY = 'move to'; 9 - const ACTION_MOVE_HERE = 'move here'; 10 - 11 - public static function getActionPastTenseVerb($action) { 12 - $map = array( 13 - self::ACTION_CREATE => pht('created'), 14 - self::ACTION_EDIT => pht('edited'), 15 - self::ACTION_DELETE => pht('deleted'), 16 - self::ACTION_MOVE_AWAY => pht('moved'), 17 - self::ACTION_MOVE_HERE => pht('moved'), 18 - ); 19 - 20 - return idx($map, $action, pht("brazenly %s'd", $action)); 21 - } 22 - 23 - }