mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 13:30:55 +01:00
16 lines
331 B
PHP
16 lines
331 B
PHP
|
#!/usr/bin/env php
|
||
|
<?php
|
||
|
|
||
|
$root = dirname(dirname(dirname(__FILE__)));
|
||
|
require_once $root.'/scripts/__init_script__.php';
|
||
|
|
||
|
$users = id(new PhabricatorUser())->loadAll();
|
||
|
echo "Indexing ".count($users)." users";
|
||
|
foreach ($users as $user) {
|
||
|
PhabricatorSearchUserIndexer::indexUser($user);
|
||
|
echo '.';
|
||
|
}
|
||
|
echo "\n";
|
||
|
echo "Done.\n";
|
||
|
|