]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Sample/User_greeting_count.php
The overloaded DB_DataObject function staticGet is now called getKV
[quix0rs-gnu-social.git] / plugins / Sample / User_greeting_count.php
index 6c7bcf4911d31f56e6050b151c2457990adc30e0..415f710440a509485a9f6dc415c06b5333f537e6 100644 (file)
@@ -130,7 +130,7 @@ class User_greeting_count extends Managed_DataObject
      */
     static function inc($user_id)
     {
-        $gc = User_greeting_count::staticGet('user_id', $user_id);
+        $gc = User_greeting_count::getKV('user_id', $user_id);
 
         if (empty($gc)) {
             $gc = new User_greeting_count();