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

Don't allow Herald Diff rules to "Call Webhooks"

Summary: Like "Commit Hook" rules, these also fire oddly and don't have an object PHID or a list of transactions.

Test Plan: Verified that "Call Webhooks" was no longer available from Diff rules, but still available from other rule types.

Differential Revision: https://secure.phabricator.com/D19069
This commit is contained in:
epriestley 2018-02-12 15:34:09 -08:00
parent 894e9dd852
commit 6a4d5ce3c9

View file

@ -57,4 +57,8 @@ final class HeraldDifferentialDiffAdapter extends HeraldDifferentialAdapter {
return pht('New Diff');
}
public function supportsWebhooks() {
return false;
}
}