]> git.mxchange.org Git - friendica.git/blobdiff - mod/tagger.php
Merge pull request #11780 from annando/untrusted
[friendica.git] / mod / tagger.php
index 4c0af4a53227692da3b079554ad3cf4fd837c7bc..e674efba698a567a66398eb8dc8c2ccccd6aaee4 100644 (file)
@@ -73,7 +73,7 @@ function tagger_content(App $a) {
                return;
        }
 
-       $uri = Item::newURI($owner_uid);
+       $uri = Item::newURI();
        $xterm = XML::escape($term);
        $post_type = (($item['resource-id']) ? DI::l10n()->t('photo') : DI::l10n()->t('status'));
        $targettype = (($item['resource-id']) ? Activity\ObjectType::IMAGE : Activity\ObjectType::NOTE );
@@ -167,6 +167,5 @@ EOT;
        $post = Post::selectFirst(['uri-id', 'uid'], ['id' => $post_id]);
 
        Worker::add(PRIORITY_HIGH, "Notifier", Delivery::POST, $post['uri-id'], $post['uid']);
-       DI::page()->logRuntime();
-       exit();
+       System::exit();
 }