X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fitem.php;h=9a9b5895bdd719e0c8b04d8abec606c7bc5eafac;hb=c6f7952f37cfd11bc4cc5a03d0639f403bf35b35;hp=6f5f8fc1eab2e144f2c009489f834241b946655a;hpb=7d531afd00de35ef55d0cc5caa63242765341dae;p=friendica.git diff --git a/mod/item.php b/mod/item.php index 6f5f8fc1ea..9a9b5895bd 100644 --- a/mod/item.php +++ b/mod/item.php @@ -783,7 +783,7 @@ function item_post(&$a) { // update filetags in pconfig file_tag_update_pconfig($uid,$categories_old,$categories_new,'category'); - proc_run('php', "include/notifier.php", 'edit_post', "$post_id"); + proc_run(PRIORITY_HIGH, "include/notifier.php", 'edit_post', $post_id); if((x($_REQUEST,'return')) && strlen($return_path)) { logger('return: ' . $return_path); goaway($a->get_baseurl() . "/" . $return_path ); @@ -1032,7 +1032,7 @@ function item_post(&$a) { // Currently the only realistic fixes are to use a reliable server - which precludes shared hosting, // or cut back on plugins which do remote deliveries. - proc_run('php', "include/notifier.php", $notify_type, "$post_id"); + proc_run(PRIORITY_HIGH, "include/notifier.php", $notify_type, $post_id); logger('post_complete');