1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-18 21:02:41 +01:00
phorge-phorge/resources/sql/autopatches/20140711.pnames.2.php

12 lines
288 B
PHP
Raw Normal View History

<?php
echo pht('Updating project datasource tokens...')."\n";
foreach (new LiskMigrationIterator(new PhabricatorProject()) as $project) {
$name = $project->getName();
echo pht("Updating project '%d'...", $name)."\n";
$project->updateDatasourceTokens();
}
echo pht('Done.')."\n";