#!/usr/bin/env php
<?php
/*
- * StatusNet - a distributed open-source microblogging tool
+ * StatusNet - the distributed open-source microblogging tool
* Copyright (C) 2008, 2009, StatusNet, Inc.
*
* This program is free software: you can redistribute it and/or modify
END_OF_PASSWORD_HELP;
-require_once INSTALLDIR.'/scripts/commandline.inc';
+require_once INSTALLDIR.'/scripts/commandline.inc.php';
if (count($args) < 2) {
show_help();
exit(1);
}
-$user = User::staticGet('nickname', $nickname);
+$user = User::getKV('nickname', $nickname);
if (!$user) {
print "No such user '$nickname'.\n";