Remove activity tab from user profile

// I was asked how to remove the activity tab for everyone on
// the BP user profiles so here is my quick solution. Add the
// code below to bp-custom.php and it will remove that tab
// and if the user even tries to get to it by manually typing
// the URL in their browser they get "Page Not Found."
// Hope others find this useful.
function bphelp_remove_activity_from_profile(){
    bp_core_remove_nav_item('activity');
}
add_action('bp_activity_setup_nav','bphelp_remove_activity_from_profile');

#remove-profile-activity-tab