Index: includes/common.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/common.inc,v
retrieving revision 1.1240
diff -u -p -r1.1240 common.inc
--- includes/common.inc	11 Oct 2010 23:49:48 -0000	1.1240
+++ includes/common.inc	15 Oct 2010 11:52:28 -0000
@@ -4934,8 +4934,6 @@ function drupal_cron_run() {
     foreach ($queues as $queue_name => $info) {
       DrupalQueue::get($queue_name)->createQueue();
     }
-    // Register shutdown callback
-    drupal_register_shutdown_function('drupal_cron_cleanup');
 
     // Iterate through the modules calling their cron handlers (if any):
     module_invoke_all('cron');
@@ -4968,19 +4966,6 @@ function drupal_cron_run() {
 }
 
 /**
- * Shutdown function for cron cleanup.
- */
-function drupal_cron_cleanup() {
-  // See if the semaphore is still locked.
-  if (variable_get('cron_semaphore', FALSE)) {
-    watchdog('cron', 'Cron run exceeded the time limit and was aborted.', array(), WATCHDOG_WARNING);
-
-    // Release cron semaphore
-    variable_del('cron_semaphore');
-  }
-}
-
-/**
  * Returns information about system object files (modules, themes, etc.).
  *
  * This function is used to find all or some system object files (module files,
