require_once('include/bbcode.php');
require_once('include/items.php');
-if(! function_exists('tagger_content')) {
+
function tagger_content(&$a) {
if(! local_user() && ! remote_user()) {
$arr = array();
+ $arr['guid'] = get_guid(32);
$arr['uri'] = $uri;
$arr['uid'] = $owner_uid;
$arr['contact-id'] = $contact['id'];
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
-}
+
}