Remove several pieces of audit-related code

Summary: Ref T10978. This code (mostly related to the old ADD_AUDIT transaction and some to the "store English text in the database" audit reasons) is no longer reachable.

Test Plan:
Grepped for removed symbols:

  - withAuditStatus
  - getActionNameMap (unrelated callsites exist)
  - getActionName (unrelated callsites exist)
  - getActionPastTenseVerb
  - addAuditReason
  - getAuditReasons
  - auditReasonMap

Also audited some commits.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10978

Differential Revision: https://secure.phabricator.com/D17267
This commit is contained in:
epriestley
2017-01-26 10:32:29 -08:00
parent 2e9cc5e8e8
commit bcbd4035fd
5 changed files with 2 additions and 127 deletions
@@ -135,14 +135,6 @@ final class DiffusionCommitQuery
return $this;
}
public function withAuditStatus($status) {
// TODO: Replace callers with `withStatuses()`.
return $this->withStatuses(
array(
$status,
));
}
public function withEpochRange($min, $max) {
$this->epochMin = $min;
$this->epochMax = $max;