mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01:00
Fix an excessively aggressive transaction check in Owners
Summary: Fixes T10058. We don't need to continue on this check if no path changes are being applied. Test Plan: Archived an owners package. Reviewers: chad Reviewed By: chad Maniphest Tasks: T10058 Differential Revision: https://secure.phabricator.com/D14906
This commit is contained in:
parent
33384abff7
commit
1443e4b13d
1 changed files with 4 additions and 0 deletions
|
@ -204,6 +204,10 @@ final class PhabricatorOwnersPackageTransactionEditor
|
|||
}
|
||||
break;
|
||||
case PhabricatorOwnersPackageTransaction::TYPE_PATHS:
|
||||
if (!$xactions) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$old = mpull($object->getPaths(), 'getRef');
|
||||
foreach ($xactions as $xaction) {
|
||||
$new = $xaction->getNewValue();
|
||||
|
|
Loading…
Reference in a new issue