You are here

function party_activity_delete in Party 8.2

Same name and namespace in other branches
  1. 7 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 188
Functions and important hooks for the party_activity module

Code

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