]> git.mxchange.org Git - friendica.git/blobdiff - mod/pubsub.php
Forgot one Logpoint ..
[friendica.git] / mod / pubsub.php
index 9b73ff85e23a11c72da30c3eca8b504b4a565f0b..1dfbd0b3dc9960f72848dc156400f6e2e489b5d9 100644 (file)
@@ -96,7 +96,7 @@ function pubsub_init(App $a)
                }
 
                if (!empty($hub_mode)) {
-                       DBA::update('contact', ['subhub' => $subscribe], ['id' => $contact['id']]);
+                       Contact::update(['subhub' => $subscribe], ['id' => $contact['id']]);
                        Logger::log($hub_mode . ' success for contact ' . $contact_id . '.');
                }
                hub_return(true, $hub_challenge);