def delete_exploration(committer_id, exploration_id, force_deletion=False):
 exploration_rights_model = exp_models.ExplorationRightsModel.get(exploration_id)
 exploration_rights_model.delete(committer_id, '', force_deletion=force_deletion)
 exploration_model = exp_models.ExplorationModel.get(exploration_id)
 exploration_model.delete(committer_id, feconf.COMMIT_MESSAGE_EXPLORATION_DELETED, force_deletion=force_deletion)
 exploration_memcache_key = _get_exploration_memcache_key(exploration_id)
 memcache_services.delete(exploration_memcache_key)
 delete_documents_from_search_index([exploration_id])
 delete_exploration_summary(exploration_id)
 activity_services.remove_featured_activity(feconf.ACTIVITY_TYPE_EXPLORATION, exploration_id)

def delete_exploration ( committer_id , exploration_id , force_deletion = False ) : exploration_rights_model = exp_models . ExplorationRightsModel . get ( exploration_id ) exploration_rights_model . delete ( committer_id , '' , force_deletion = force_deletion ) exploration_model = exp_models . ExplorationModel . get ( exploration_id ) exploration_model . delete ( committer_id , feconf . COMMIT_MESSAGE_EXPLORATION_DELETED , force_deletion = force_deletion ) exploration_memcache_key = _get_exploration_memcache_key ( exploration_id ) memcache_services . delete ( exploration_memcache_key ) delete_documents_from_search_index ( [ exploration_id ] ) delete_exploration_summary ( exploration_id ) activity_services . remove_featured_activity ( feconf . ACTIVITY_TYPE_EXPLORATION , exploration_id )
deletes the exploration with the given exploration_id .