mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-15 10:00:55 +01:00
f078fd98d7
Summary: Ref T10457. Allow build plans to be queried by name. Test Plan: - Searched for plans by name. - Renamed a plan, searched for new name. {F1133085} Reviewers: chad Reviewed By: chad Maniphest Tasks: T10457 Differential Revision: https://secure.phabricator.com/D15359
11 lines
220 B
PHP
11 lines
220 B
PHP
<?php
|
|
|
|
$table = new HarbormasterBuildPlan();
|
|
|
|
foreach (new LiskMigrationIterator($table) as $plan) {
|
|
PhabricatorSearchWorker::queueDocumentForIndexing(
|
|
$plan->getPHID(),
|
|
array(
|
|
'force' => true,
|
|
));
|
|
}
|