Fix issue with "Publish/Notify" handling in repositories
Summary: Fixes T8728. As far as I can tell, I simply got this wrong in D11826. This is not the proper name for the preference. That change primarily focused on the "spammy junk during import" issue, and the code did get the importing flag right. It looks like my testing in D11827 focused on "during import" and just missed this case. Test Plan: Grepped for `disable-herald`. Grepped for `herald-disable`. Reviewers: chad Reviewed By: chad Maniphest Tasks: T8728 Differential Revision: https://secure.phabricator.com/D14181
This commit is contained in:
@@ -715,7 +715,7 @@ final class PhabricatorRepository extends PhabricatorRepositoryDAO
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($this->getDetail('disable-herald')) {
|
||||
if ($this->getDetail('herald-disabled')) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user