X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=scripts%2Fstrip_geo.php;h=021b66885190dacbf944759738895272855256cc;hb=dcb7ce36d8e4e1fe34d99cc52b4e1dc5d866fada;hp=b3f27be616a7b4b620d143c17784ace8cfc962e4;hpb=9cfc5c0f5ad248a8b594f95a8bcbe5adfdbf6925;p=quix0rs-gnu-social.git diff --git a/scripts/strip_geo.php b/scripts/strip_geo.php index b3f27be616..021b668851 100755 --- a/scripts/strip_geo.php +++ b/scripts/strip_geo.php @@ -40,14 +40,14 @@ require_once INSTALLDIR.'/scripts/commandline.inc'; if (have_option('i', 'id')) { $id = get_option_value('i', 'id'); - $profile = Profile::staticGet('id', $id); + $profile = Profile::getKV('id', $id); if (empty($profile)) { print "Can't find local or remote profile 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 local user with nickname '$nickname'\n"; exit(1);