From bfbc0e638ddf25ddf23129030230551306c321b9 Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 6 Jul 2015 13:16:14 -0700 Subject: [PATCH] Remove vestigal "tags" stuff from Herald Summary: Ref T8726. No clue what this was. Test Plan: Grepped for usage, found none. Reviewers: btrahan Reviewed By: btrahan Subscribers: eadler, epriestley Maniphest Tasks: T8726 Differential Revision: https://secure.phabricator.com/D13498 --- src/applications/herald/adapter/HeraldAdapter.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/applications/herald/adapter/HeraldAdapter.php b/src/applications/herald/adapter/HeraldAdapter.php index ac72bb97b6..4dbfe2281a 100644 --- a/src/applications/herald/adapter/HeraldAdapter.php +++ b/src/applications/herald/adapter/HeraldAdapter.php @@ -9,7 +9,6 @@ abstract class HeraldAdapter extends Phobject { const FIELD_REVIEWER = 'reviewer'; const FIELD_REVIEWERS = 'reviewers'; const FIELD_COMMITTER = 'committer'; - const FIELD_TAGS = 'tags'; const FIELD_DIFF_FILE = 'diff-file'; const FIELD_DIFF_CONTENT = 'diff-content'; const FIELD_DIFF_ADDED_CONTENT = 'diff-added-content'; @@ -79,7 +78,6 @@ abstract class HeraldAdapter extends Phobject { const VALUE_NONE = 'none'; const VALUE_EMAIL = 'email'; const VALUE_USER = 'user'; - const VALUE_TAG = 'tag'; const VALUE_RULE = 'rule'; const VALUE_REPOSITORY = 'repository'; const VALUE_OWNERS_PACKAGE = 'package'; @@ -371,7 +369,6 @@ abstract class HeraldAdapter extends Phobject { self::FIELD_COMMITTER => pht('Committer'), self::FIELD_REVIEWER => pht('Reviewer'), self::FIELD_REVIEWERS => pht('Reviewers'), - self::FIELD_TAGS => pht('Tags'), self::FIELD_DIFF_FILE => pht('Any changed filename'), self::FIELD_DIFF_CONTENT => pht('Any changed file content'), self::FIELD_DIFF_ADDED_CONTENT => pht('Any added file content'), @@ -471,7 +468,6 @@ abstract class HeraldAdapter extends Phobject { self::CONDITION_EXISTS, self::CONDITION_NOT_EXISTS, ); - case self::FIELD_TAGS: case self::FIELD_REVIEWERS: case self::FIELD_AUTHOR_PROJECTS: case self::FIELD_AFFECTED_PACKAGE: @@ -940,8 +936,6 @@ abstract class HeraldAdapter extends Phobject { switch ($field) { case self::FIELD_REPOSITORY: return self::VALUE_REPOSITORY; - case self::FIELD_TAGS: - return self::VALUE_TAG; case self::FIELD_AFFECTED_PACKAGE: return self::VALUE_OWNERS_PACKAGE; case self::FIELD_AUTHOR_PROJECTS: