1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 01:08:50 +02:00

Deprecate Conduit method "diffusion.getrecentcommitsbypath"

Summary:
See D19558. This method has no callers and just wraps `diffusion.historyquery`, since D5960 (2013).

This was introduced in D315 (which didn't make it out of FB, I think) inside Facebook for unclear purposes in 2011.

Test Plan: Grepped for callers, found none.

Reviewers: amckinley

Reviewed By: amckinley

Subscribers: artms

Differential Revision: https://secure.phabricator.com/D19559
This commit is contained in:
epriestley 2018-08-02 16:33:41 -07:00
parent 356b2781bc
commit 3574a55a95

View file

@ -9,6 +9,14 @@ final class DiffusionGetRecentCommitsByPathConduitAPIMethod
return 'diffusion.getrecentcommitsbypath';
}
public function getMethodStatus() {
return self::METHOD_STATUS_DEPRECATED;
}
public function getMethodStatusDescription() {
return pht('Obsoleted by "diffusion.historyquery".');
}
public function getMethodDescription() {
return pht(
'Get commit identifiers for recent commits affecting a given path.');