]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/newnotice.php
The overloaded DB_DataObject function staticGet is now called getKV
[quix0rs-gnu-social.git] / actions / newnotice.php
index 0aafcd41c6f2dc623497d59cbc212d0ee1a04132..938be69b0f89da4d9a3ae9f5114987ecded6e252 100644 (file)
@@ -345,7 +345,7 @@ class NewnoticeAction extends Action
         if (!$content) {
             $replyto = $this->trimmed('replyto');
             $inreplyto = $this->trimmed('inreplyto');
-            $profile = Profile::staticGet('nickname', $replyto);
+            $profile = Profile::getKV('nickname', $replyto);
             if ($profile) {
                 $content = '@' . $profile->nickname . ' ';
             }