mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 06:42:42 +01:00
Fix bin/accountadmin when not making changes
Summary: If you go through the `accountadmin` flow and change nothing, you get an exception about the transaction not having any effect. Instead, let the `applyTransactions` call continue even on no effect. Test Plan: Ran `accountadmin` without changing anything for an existing user. No longer got an exception about no-effect transactions. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D20009
This commit is contained in:
parent
6138d5885d
commit
c756bf3476
1 changed files with 1 additions and 0 deletions
|
@ -218,6 +218,7 @@ $user->openTransaction();
|
|||
->setActor($actor)
|
||||
->setActingAsPHID($people_application_phid)
|
||||
->setContentSource($content_source)
|
||||
->setContinueOnNoEffect(true)
|
||||
->setContinueOnMissingFields(true);
|
||||
|
||||
$transaction_editor->applyTransactions($user, $xactions);
|
||||
|
|
Loading…
Reference in a new issue