MDL-14617 removed PHP4 stuff

This commit is contained in:
skodak 2008-05-01 21:16:16 +00:00
parent d3acaab4e4
commit 8336b6b83f

View file

@ -2089,12 +2089,6 @@ function require_logout() {
}
}
if (ini_get_bool("register_globals") and check_php_version("4.3.0")) {
// This method is just to try to avoid silly warnings from PHP 4.3.0
session_unregister("USER");
session_unregister("SESSION");
}
// Initialize variable to pass-by-reference to headers_sent(&$file, &$line)
$file = $line = null;
if (headers_sent($file, $line)) {