--- drupad.module
+++ (clipboard)
@@ -411,26 +411,4 @@
   }
 
   return $items;
-}
-
-/**
- * This function does exactly what core function
- * user_logout() does expect that there is no final
- * redirection with drupal_goto()
- *
- * @see http://api.drupal.org/api/function/user_logout/7
- */
-function drupad_user_logout() {
-  global $user;
-
-  watchdog('user', 'Session closed for %name.', array('%name' => $user->name));
-
-  // Destroy the current session:
-  session_destroy();
-  // Only variables can be passed by reference workaround.
-  $null = NULL;
-  user_module_invoke('logout', $null, $user);
-
-  // Load the anonymous user
-  $user = drupal_anonymous_user();
 }
\ No newline at end of file
