Viewing File: /home/ubuntu/code_review/phabricator/resources/sql/autopatches/20160510.repo.01.uriindex.php

<?php

$repos = id(new PhabricatorRepositoryQuery())
  ->setViewer(PhabricatorUser::getOmnipotentUser())
  ->needURIs(true)
  ->execute();

foreach ($repos as $repo) {
  $repo->updateURIIndex();
}
Back to Directory File Manager