mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-14617 removed PHP4 stuff
This commit is contained in:
parent
d3acaab4e4
commit
8336b6b83f
1 changed files with 0 additions and 6 deletions
|
@ -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)
|
// Initialize variable to pass-by-reference to headers_sent(&$file, &$line)
|
||||||
$file = $line = null;
|
$file = $line = null;
|
||||||
if (headers_sent($file, $line)) {
|
if (headers_sent($file, $line)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue