mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Make "bin/audit synchronize" actually save changes
Summary: Ref T10978. Although this script prints out some very good changes, it does not currently persist them to the database. Test Plan: Ran `bin/audit synchronize`, saw the change appear both on the CLI and in the database. Reviewers: chad Reviewed By: chad Maniphest Tasks: T10978 Differential Revision: https://secure.phabricator.com/D17276
This commit is contained in:
parent
2a527a51f2
commit
a3417ccd78
1 changed files with 3 additions and 1 deletions
|
@ -44,12 +44,14 @@ final class PhabricatorAuditSynchronizeManagementWorkflow
|
|||
echo tsprintf(
|
||||
"%s\n",
|
||||
pht(
|
||||
'Updated "%s": "%s" -> "%s".',
|
||||
'Updating "%s": "%s" -> "%s".',
|
||||
$commit->getDisplayName(),
|
||||
PhabricatorAuditCommitStatusConstants::getStatusName(
|
||||
$old_status),
|
||||
PhabricatorAuditCommitStatusConstants::getStatusName(
|
||||
$new_status)));
|
||||
|
||||
$commit->save();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue