mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 14:00:56 +01: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:
parent
894e9dd852
commit
6a4d5ce3c9
1 changed files with 4 additions and 0 deletions
|
@ -57,4 +57,8 @@ final class HeraldDifferentialDiffAdapter extends HeraldDifferentialAdapter {
|
||||||
return pht('New Diff');
|
return pht('New Diff');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function supportsWebhooks() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue