Force to destroy the php session. Without this, some buggy PHP versions
can have problems under certain situations. :-)
This commit is contained in:
@@ -169,6 +169,10 @@
|
||||
echo $enrol->log;
|
||||
|
||||
|
||||
//Unset session variables and destroy it
|
||||
@session_unset();
|
||||
@session_destroy();
|
||||
|
||||
echo "Cron script completed correctly\n";
|
||||
|
||||
$difftime = microtime_diff($starttime, microtime());
|
||||
|
||||
Reference in New Issue
Block a user