mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 01:02:42 +01:00
15 lines
259 B
PHP
15 lines
259 B
PHP
|
<?php
|
||
|
|
||
|
$conn = $schema_conn;
|
||
|
|
||
|
echo "Indexing username tokens for typeaheads...\n";
|
||
|
|
||
|
$users = id(new PhabricatorUser())->loadAll();
|
||
|
echo count($users)." users to index";
|
||
|
foreach ($users as $user) {
|
||
|
$user->updateNameTokens();
|
||
|
echo ".";
|
||
|
}
|
||
|
|
||
|
echo "\nDone.\n";
|