]> git.mxchange.org Git - friendica.git/commitdiff
We should reset the session variable
authorMichael <heluecht@pirati.ca>
Fri, 8 Sep 2017 08:50:08 +0000 (08:50 +0000)
committerMichael <heluecht@pirati.ca>
Fri, 8 Sep 2017 08:50:08 +0000 (08:50 +0000)
include/poller.php

index 9758ab9464c1c73775fb5650b414200348078757..d43257fc9f47c912d60e9cea303b7db33eb344b0 100644 (file)
@@ -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;