From: Michael Date: Fri, 8 Sep 2017 08:50:08 +0000 (+0000) Subject: We should reset the session variable X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c44448dd57683b29c3200d87d6274bf5dbe326e7;p=friendica.git We should reset the session variable --- diff --git a/include/poller.php b/include/poller.php index 9758ab9464..d43257fc9f 100644 --- a/include/poller.php +++ b/include/poller.php @@ -303,6 +303,9 @@ function poller_exec_function($queue, $funcname, $argv) { $up_duration = number_format(microtime(true) - $poller_up_start, 3); + // Reset global data to avoid interferences + unset($_SESSION); + $funcname($argv, $argc); $a->process_id = $old_process_id;