ENDOFHELP;
-require_once INSTALLDIR.'/scripts/commandline.inc';
+require_once INSTALLDIR.'/scripts/commandline.inc.php';
$id_file = (count($args) > 1) ? $args[0] : 'ids.txt';
foreach ($ids as $id) {
- $user = User::staticGet('id', $id);
+ $user = User::getKV('id', $id);
if (!$user) {
common_log(LOG_WARNING, 'No such user: ' . $id);