]> git.mxchange.org Git - friendica.git/blobdiff - mod/oexchange.php
add the homepage_verified field to the profile table and the owner-view
[friendica.git] / mod / oexchange.php
index f914e1e1778348650193079db2ad563e94fad7a5..dd3809bc7d795889daa5ea8f2984ce64bb2f937f 100644 (file)
@@ -97,7 +97,7 @@ function oexchange_init(App $a)
 
 function oexchange_content(App $a)
 {
-       if (!local_user()) {
+       if (!DI::userSession()->getLocalUserId()) {
                $o = Login::form();
                return $o;
        }
@@ -119,7 +119,7 @@ function oexchange_content(App $a)
 
        $post = [];
 
-       $post['profile_uid'] = local_user();
+       $post['profile_uid'] = DI::userSession()->getLocalUserId();
        $post['return'] = '/oexchange/done';
        $post['body'] = HTML::toBBCode($s);