diff --git a/includes/session.inc b/includes/session.inc index 84d1983..00f5cb1 100644 --- a/includes/session.inc +++ b/includes/session.inc @@ -425,7 +425,7 @@ function _drupal_session_destroy($sid) { // Nothing to do if we are not allowed to change the session. if (!drupal_save_session()) { - return; + return FALSE; } // Delete session data. @@ -446,6 +446,7 @@ function _drupal_session_destroy($sid) { elseif (variable_get('https', FALSE)) { _drupal_session_delete_cookie('S' . session_name(), TRUE); } + return TRUE; } /**