]> git.mxchange.org Git - friendica.git/blobdiff - mod/tagger.php
proc_run was replaced
[friendica.git] / mod / tagger.php
index ea15b3f403647c5f5a35dd340d3d4eee8cc1e234..84e5e5615c4186c8c0ea18774ef3a1142030a56d 100644 (file)
@@ -2,6 +2,7 @@
 
 use Friendica\App;
 use Friendica\Core\System;
+use Friendica\Core\Worker;
 
 require_once('include/security.php');
 require_once('include/bbcode.php');
@@ -214,7 +215,7 @@ EOT;
 
        call_hooks('post_local_end', $arr);
 
-       proc_run(PRIORITY_HIGH, "include/notifier.php", "tag", $post_id);
+       Worker::add(PRIORITY_HIGH, "notifier", "tag", $post_id);
 
        killme();