proc_run was replaced
This commit is contained in:
parent
da212a28a2
commit
478e363967
41 changed files with 167 additions and 157 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue