]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/DFRN/Notify.php
Merge pull request #12459 from MrPetovan/bug/12454-link-preview-translation
[friendica.git] / src / Module / DFRN / Notify.php
index 34cf21f11df66b8d03d9d0f832d350dd45360da5..14b121e81079fce24b9e2c6673aecacb013fa222 100644 (file)
@@ -70,18 +70,8 @@ class Notify extends BaseModule
                                throw new \Friendica\Network\HTTPException\InternalServerErrorException();
                        }
                        $this->dispatchPrivate($user, $postdata);
-               } elseif (!$this->dispatchPublic($postdata)) {
-                       (new Salmon(
-                               $this->database,
-                               $this->l10n,
-                               $this->baseUrl,
-                               $this->args,
-                               $this->logger,
-                               $this->profiler,
-                               $this->response,
-                               $this->server,
-                               $this->parameters
-                       ))->rawContent($request);
+               } else {
+                       $this->dispatchPublic($postdata);
                }
        }