1
0
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

@ -1,6 +1,7 @@
<?php
use Friendica\App;
use Friendica\Core\Worker;
function fsuggest_post(App $a) {
@ -59,7 +60,7 @@ function fsuggest_post(App $a) {
intval($fsuggest_id),
intval(local_user())
);
proc_run(PRIORITY_HIGH, 'include/notifier.php', 'suggest', $fsuggest_id);
Worker::add(PRIORITY_HIGH, 'notifier', 'suggest', $fsuggest_id);
}
info( t('Friend suggestion sent.') . EOL);