1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-05 20:31:03 +01:00
phorge-phorge/src/applications/differential/storage
epriestley d179d0150c Remove obsolete "relationships" code from Differential
Summary:
Ref T10967. There have been two different ways to load reviewers for a while: `needReviewerStatus()` and `needRelationships()`.

The `needRelationships()` stuff was a false start along time ago that didn't really go anywhere. I believe the idea was that we might want to load several different types of edges (subscribers, reviewers, etc) on lots of different types of objects. However, all that stuff pretty much ended up modularizing so that main `Query` classes did not need to know about it, so `needRelationships()` never got generalized or went anywhere.

A handful of things still use it, but get rid of them: they should either `needReviewerStatus()` to get reviewer info, or the ~3 callsites that care about subscribers can just load them directly.

Test Plan:
  - Grepped for removed methods (`needRelationships()`, `getReviewers()`, `getCCPHIDs()`, etc).
  - Browsed Diffusion, Differential.
  - Called `differential.query`.

It's possible I missed some stuff, but it should mostly show up as super obvious fatals ("call needReviewerStatus() before getReviewerStatus()!").

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10967

Differential Revision: https://secure.phabricator.com/D17518
2017-03-20 16:45:48 -07:00
..
__tests__ Replace ArcanistPhutilTestCase refs with PhutilTestCase 2015-05-20 09:40:39 +10:00
DifferentialAffectedPath.php Fix visiblity of LiskDAO::getConfiguration() 2015-01-14 06:54:13 +11:00
DifferentialChangeset.php Support arbitrarily long filenames in Differential 2016-12-15 11:35:15 -08:00
DifferentialCustomFieldNumericIndex.php Various linter fixes. 2014-02-26 12:44:58 -08:00
DifferentialCustomFieldStorage.php Various linter fixes. 2014-02-26 12:44:58 -08:00
DifferentialCustomFieldStringIndex.php Various linter fixes. 2014-02-26 12:44:58 -08:00
DifferentialDAO.php Delete license headers from files 2012-11-05 11:16:51 -08:00
DifferentialDiff.php Navigage Buildkite builds with more nuance 2017-01-31 17:26:45 -08:00
DifferentialDiffProperty.php Fix almost all remaining schemata issues 2014-10-01 08:18:36 -07:00
DifferentialDiffTransaction.php Differential - make DifferentialDiffEditor into a real transaction editor. 2014-11-18 15:32:23 -08:00
DifferentialDraft.php Make yellow "draft" bubbles more generic 2017-01-13 09:02:19 -08:00
DifferentialHiddenComment.php Allow inline comments to be individually hidden 2015-05-27 10:28:38 -07:00
DifferentialHunk.php Remove empty implementations of describeAutomaticCapabilities() 2016-11-09 15:24:22 -08:00
DifferentialInlineComment.php Modularize content sources 2016-03-26 11:59:45 -07:00
DifferentialLegacyHunk.php Rename DifferentialHunk subclasses for consistency 2015-01-23 07:17:04 +11:00
DifferentialModernHunk.php Rename DifferentialHunk subclasses for consistency 2015-01-23 07:17:04 +11:00
DifferentialReviewer.php Move many "reviewers" readers to new storage 2017-03-20 16:45:28 -07:00
DifferentialRevision.php Remove obsolete "relationships" code from Differential 2017-03-20 16:45:48 -07:00
DifferentialSchemaSpec.php Automatically build all Lisk schemata 2014-10-02 09:51:20 -07:00
DifferentialTransaction.php Move many "reviewers" readers to new storage 2017-03-20 16:45:28 -07:00
DifferentialTransactionComment.php Make inline comment preview and submission mostly work on EditEngine 2016-12-31 10:10:29 -08:00