You are here

function party_activity_delete in Party 7

Same name and namespace in other branches
  1. 8.2 modules/party_activity/party_activity.module \party_activity_delete()

Delete an Activity

1 call to party_activity_delete()
party_activity_delete_form_submit in modules/party_activity/party_activity.admin.inc
Submit callback for activity_delete_form

File

modules/party_activity/party_activity.module, line 222
Functions and important hooks for the party_activity module

Code

function party_activity_delete(PartyActivity $party_activity) {
  $party_activity
    ->delete();
}