? .directory
? drupal-1003838.patch
Index: includes/common.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/common.inc,v
retrieving revision 1.756.2.107
diff -u -p -r1.756.2.107 common.inc
--- includes/common.inc	15 Dec 2010 21:34:35 -0000	1.756.2.107
+++ includes/common.inc	21 Dec 2010 01:33:35 -0000
@@ -335,7 +335,7 @@ function drupal_goto($path = '', $query 
   // Allow modules to react to the end of the page request before redirecting.
   // We do not want this while running update.php.
   if (!defined('MAINTENANCE_MODE') || MAINTENANCE_MODE != 'update') {
-    module_invoke_all('exit', $url);
+    module_invoke_all('exit', $url, $http_response_code);
   }
 
   // Even though session_write_close() is registered as a shutdown function, we
