Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

reverting previous patch - see http://moodle.org/mod/forum/discuss.ph…

  • Loading branch information...
commit 9259cb73bca165fb241da78256d3d6ba6dfaf734 1 parent c764ee5
skodak authored
Showing with 0 additions and 5 deletions.
  1. +0 −5 lib/setup.php
View
5 lib/setup.php
@@ -314,11 +314,6 @@ class object {};
} else {
$_COOKIE['MoodleSessionTest'.$CFG->sessioncookie] = 'error!!';
}
- } else {
- if (empty($_COOKIE['MoodleSessionTest'.$CFG->sessioncookie])) {
- setcookie('MoodleSessionTest'.$CFG->sessioncookie, $_SESSION['SESSION']->session_test, 0, '/');
- $_COOKIE['MoodleSessionTest'.$CFG->sessioncookie] = $_SESSION['SESSION']->session_test;
- }
}
if (! isset($_SESSION['USER'])) {
$_SESSION['USER'] = new object;
Please sign in to comment.
Something went wrong with that request. Please try again.