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:
Joshua Spence
2015-06-03 20:23:07 +10:00
parent 446611e2e3
commit c26ea062d1
2 changed files with 0 additions and 25 deletions

View File

@@ -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));
}
}