mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-23 23:32:40 +01:00
12 lines
262 B
PHP
12 lines
262 B
PHP
|
<?php
|
||
|
|
||
|
echo "Updating project datasource tokens...\n";
|
||
|
|
||
|
foreach (new LiskMigrationIterator(new PhabricatorProject()) as $project) {
|
||
|
$name = $project->getName();
|
||
|
echo "Updating project '{$name}'...\n";
|
||
|
$project->updateDatasourceTokens();
|
||
|
}
|
||
|
|
||
|
echo "Done.\n";
|