1
1
Fork 0

proc_run was replaced

This commit is contained in:
Michael 2017-11-05 12:15:53 +00:00
commit 478e363967
41 changed files with 167 additions and 157 deletions

View file

@ -16,6 +16,7 @@
use Friendica\App;
use Friendica\Core\System;
use Friendica\Core\Worker;
require_once('include/security.php');
require_once('include/bbcode.php');
@ -137,13 +138,13 @@ function poke_init(App $a) {
// intval($uid),
// intval($item_id)
//);
proc_run(PRIORITY_HIGH, "include/notifier.php", "tag", $item_id);
Worker::add(PRIORITY_HIGH, "notifier", "tag", $item_id);
}
call_hooks('post_local_end', $arr);
proc_run(PRIORITY_HIGH, "include/notifier.php", "like", $post_id);
Worker::add(PRIORITY_HIGH, "notifier", "like", $post_id);
return;
}