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