mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 17:22:42 +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";
|