Hopefully this will fix the logout problems - it now specifically checks for PHP 4.3.0 or later, and also does the unset anyway.
Hopefully this will fix the logout problems - it now specifically
checks for PHP 4.3.0 or later, and also does the unset anyway.

Sessions are not consistent in PHP versions.

dilawar/moodle