mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 12:00:55 +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";
|