]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/sendemail.php
The overloaded DB_DataObject function staticGet is now called getKV
[quix0rs-gnu-social.git] / scripts / sendemail.php
index 436e085bed83e1386a756fc52d865d2246472618..0441bfe7ee9abef0ebc417ca31d2e4cb8bf9a8b9 100755 (executable)
@@ -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);