mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-29 08:50:58 +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";
|
||
|
|