X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FSample%2FUser_greeting_count.php;h=415f710440a509485a9f6dc415c06b5333f537e6;hb=2a4dc77a633cc78907934fd93200ac16d55be78e;hp=6c7bcf4911d31f56e6050b151c2457990adc30e0;hpb=e95f77d34c501d345e731ccf6bc722034d155b77;p=quix0rs-gnu-social.git diff --git a/plugins/Sample/User_greeting_count.php b/plugins/Sample/User_greeting_count.php index 6c7bcf4911..415f710440 100644 --- a/plugins/Sample/User_greeting_count.php +++ b/plugins/Sample/User_greeting_count.php @@ -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();