X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=scripts%2Fsendemail.php;h=0441bfe7ee9abef0ebc417ca31d2e4cb8bf9a8b9;hb=2a4dc77a633cc78907934fd93200ac16d55be78e;hp=436e085bed83e1386a756fc52d865d2246472618;hpb=e95f77d34c501d345e731ccf6bc722034d155b77;p=quix0rs-gnu-social.git diff --git a/scripts/sendemail.php b/scripts/sendemail.php index 436e085bed..0441bfe7ee 100755 --- a/scripts/sendemail.php +++ b/scripts/sendemail.php @@ -37,14 +37,14 @@ require_once INSTALLDIR.'/scripts/commandline.inc'; if (have_option('i', 'id')) { $id = get_option_value('i', 'id'); - $user = User::staticGet('id', $id); + $user = User::getKV('id', $id); if (empty($user)) { print "Can't find user with ID $id\n"; exit(1); } } else if (have_option('n', 'nickname')) { $nickname = get_option_value('n', 'nickname'); - $user = User::staticGet('nickname', $nickname); + $user = User::getKV('nickname', $nickname); if (empty($user)) { print "Can't find user with nickname '$nickname'\n"; exit(1);