]> git.mxchange.org Git - friendica.git/blobdiff - mod/unfollow.php
Merge pull request #11194 from MrPetovan/bug/11193-post-user-view-body-null
[friendica.git] / mod / unfollow.php
index 92bded2faa501b4f1741d26f08596f5d30e9a72c..0aa8a87b50865d3bc9715fe6d1d334d32a3f3704 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -122,7 +122,7 @@ function unfollow_process(string $url)
 
        $owner = User::getOwnerDataById($uid);
        if (!$owner) {
-               \Friendica\Module\Security\Logout::init();
+               (new \Friendica\Module\Security\Logout())->init();
                // NOTREACHED
        }