Project

General

Profile

Revision b0dc3a2e

Added by Julien Enselme over 7 years ago

Update to Drupal 7.52

View differences:

drupal7/includes/session.inc
163 163
  try {
164 164
    if (!drupal_save_session()) {
165 165
      // We don't have anything to do if we are not allowed to save the session.
166
      return;
166
      return TRUE;
167 167
    }
168 168

  
169 169
    // Check whether $_SESSION has been changed in this request.
......
425 425

  
426 426
  // Nothing to do if we are not allowed to change the session.
427 427
  if (!drupal_save_session()) {
428
    return;
428
    return TRUE;
429 429
  }
430 430

  
431 431
  // Delete session data.
......
446 446
  elseif (variable_get('https', FALSE)) {
447 447
    _drupal_session_delete_cookie('S' . session_name(), TRUE);
448 448
  }
449

  
450
  return TRUE;
449 451
}
450 452

  
451 453
/**

Also available in: Unified diff