1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-20 05:42:40 +01:00

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
This commit is contained in:
epriestley 2015-07-06 13:16:14 -07:00
parent 4c23d5cfae
commit bfbc0e638d

View file

@ -9,7 +9,6 @@ abstract class HeraldAdapter extends Phobject {
const FIELD_REVIEWER = 'reviewer'; const FIELD_REVIEWER = 'reviewer';
const FIELD_REVIEWERS = 'reviewers'; const FIELD_REVIEWERS = 'reviewers';
const FIELD_COMMITTER = 'committer'; const FIELD_COMMITTER = 'committer';
const FIELD_TAGS = 'tags';
const FIELD_DIFF_FILE = 'diff-file'; const FIELD_DIFF_FILE = 'diff-file';
const FIELD_DIFF_CONTENT = 'diff-content'; const FIELD_DIFF_CONTENT = 'diff-content';
const FIELD_DIFF_ADDED_CONTENT = 'diff-added-content'; const FIELD_DIFF_ADDED_CONTENT = 'diff-added-content';
@ -79,7 +78,6 @@ abstract class HeraldAdapter extends Phobject {
const VALUE_NONE = 'none'; const VALUE_NONE = 'none';
const VALUE_EMAIL = 'email'; const VALUE_EMAIL = 'email';
const VALUE_USER = 'user'; const VALUE_USER = 'user';
const VALUE_TAG = 'tag';
const VALUE_RULE = 'rule'; const VALUE_RULE = 'rule';
const VALUE_REPOSITORY = 'repository'; const VALUE_REPOSITORY = 'repository';
const VALUE_OWNERS_PACKAGE = 'package'; const VALUE_OWNERS_PACKAGE = 'package';
@ -371,7 +369,6 @@ abstract class HeraldAdapter extends Phobject {
self::FIELD_COMMITTER => pht('Committer'), self::FIELD_COMMITTER => pht('Committer'),
self::FIELD_REVIEWER => pht('Reviewer'), self::FIELD_REVIEWER => pht('Reviewer'),
self::FIELD_REVIEWERS => pht('Reviewers'), self::FIELD_REVIEWERS => pht('Reviewers'),
self::FIELD_TAGS => pht('Tags'),
self::FIELD_DIFF_FILE => pht('Any changed filename'), self::FIELD_DIFF_FILE => pht('Any changed filename'),
self::FIELD_DIFF_CONTENT => pht('Any changed file content'), self::FIELD_DIFF_CONTENT => pht('Any changed file content'),
self::FIELD_DIFF_ADDED_CONTENT => pht('Any added 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_EXISTS,
self::CONDITION_NOT_EXISTS, self::CONDITION_NOT_EXISTS,
); );
case self::FIELD_TAGS:
case self::FIELD_REVIEWERS: case self::FIELD_REVIEWERS:
case self::FIELD_AUTHOR_PROJECTS: case self::FIELD_AUTHOR_PROJECTS:
case self::FIELD_AFFECTED_PACKAGE: case self::FIELD_AFFECTED_PACKAGE:
@ -940,8 +936,6 @@ abstract class HeraldAdapter extends Phobject {
switch ($field) { switch ($field) {
case self::FIELD_REPOSITORY: case self::FIELD_REPOSITORY:
return self::VALUE_REPOSITORY; return self::VALUE_REPOSITORY;
case self::FIELD_TAGS:
return self::VALUE_TAG;
case self::FIELD_AFFECTED_PACKAGE: case self::FIELD_AFFECTED_PACKAGE:
return self::VALUE_OWNERS_PACKAGE; return self::VALUE_OWNERS_PACKAGE;
case self::FIELD_AUTHOR_PROJECTS: case self::FIELD_AUTHOR_PROJECTS: