]> git.mxchange.org Git - friendica.git/blobdiff - mod/tagger.php
Added response active support to smoothly
[friendica.git] / mod / tagger.php
index bee37015ea464f3065a50ca32de5ccfe81db85b1..e0ef1ceb02091496c4cf6d963daf02d903d4d88d 100644 (file)
@@ -4,7 +4,7 @@ require_once('include/security.php');
 require_once('include/bbcode.php');
 require_once('include/items.php');
 
-if(! function_exists('tagger_content')) {
+
 function tagger_content(&$a) {
 
        if(! local_user() && ! remote_user()) {
@@ -101,6 +101,7 @@ EOT;
 
        $arr = array();
 
+       $arr['guid'] = get_guid(32);
        $arr['uri'] = $uri;
        $arr['uid'] = $owner_uid;
        $arr['contact-id'] = $contact['id'];
@@ -210,11 +211,11 @@ EOT;
 
        call_hooks('post_local_end', $arr);
 
-       proc_run('php',"include/notifier.php","tag","$post_id");
+       proc_run(PRIORITY_HIGH, "include/notifier.php", "tag", $post_id);
 
        killme();
 
        return; // NOTREACHED
 
-}
+
 }