Changeset View
Changeset View
Standalone View
Standalone View
resources/sql/patches/20131121.repocredentials.2.mig.php
<?php | <?php | ||||
$table = new PhabricatorRepository(); | $table = id(new DiffusionRepository()) | ||||
->setApplicationName('repository') | |||||
->setTableName('repository'); | |||||
$conn_w = $table->establishConnection('w'); | $conn_w = $table->establishConnection('w'); | ||||
$viewer = PhabricatorUser::getOmnipotentUser(); | $viewer = PhabricatorUser::getOmnipotentUser(); | ||||
$map = array(); | $map = array(); | ||||
foreach (new LiskMigrationIterator($table) as $repository) { | foreach (new LiskMigrationIterator($table) as $repository) { | ||||
$callsign = $repository->getCallsign(); | $callsign = $repository->getCallsign(); | ||||
echo pht('Examining repository %s...', $callsign)."\n"; | echo pht('Examining repository %s...', $callsign)."\n"; | ||||
▲ Show 20 Lines • Show All 128 Lines • Show Last 20 Lines |