mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-14 10:52:41 +01:00
b27c2ed6d1
Summary: Fixes T12505. `PhabricatorProjectsMembershipIndexEngineExtension->materializeProject()` was incorrectly bailing early for milestone objects, which prevented milestone members from being calculated correctly. This was causing problems where (for example) an Owners package owned by a milestone wasn't being satisfied when a member of the milestone approved a revision. Test Plan: Invoked migration, observed that a user's milestones correctly showed up when searched for. Also observed that accepting a revision on behalf of a milestone now satisfies Owners rules. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Maniphest Tasks: T12505 Differential Revision: https://secure.phabricator.com/D18033
11 lines
223 B
PHP
11 lines
223 B
PHP
<?php
|
|
|
|
$table = new PhabricatorProject();
|
|
|
|
foreach (new LiskMigrationIterator($table) as $project) {
|
|
PhabricatorSearchWorker::queueDocumentForIndexing(
|
|
$project->getPHID(),
|
|
array(
|
|
'force' => true,
|
|
));
|
|
}
|