]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/userbyid.php
The overloaded DB_DataObject function staticGet is now called getKV
[quix0rs-gnu-social.git] / actions / userbyid.php
index b8ccd0108e0ab393248637a258998ef42dd63c4a..aa96993e6f39786f9728955284b976a0990266b1 100644 (file)
@@ -69,7 +69,7 @@ class UserbyidAction extends Action
             // TRANS: Client error displayed trying to find a user by ID without providing an ID.
             $this->clientError(_('No ID.'));
         }
-        $user = User::staticGet($id);
+        $user = User::getKV($id);
         if (!$user) {
             // TRANS: Client error displayed trying to find a user by ID for a non-existing ID.
             $this->clientError(_('No such user.'));