You are here

function heartbeat_plugins_heartbeat_activity_delete in Heartbeat 7

Implements of hook_heartbeat_activity_delete().

Delete the attachments from a heartbeat activity object.

Parameters

$message: HeartbeatActivity ID

File

modules/heartbeat_plugins/heartbeat_plugins.module, line 344

Code

function heartbeat_plugins_heartbeat_activity_delete($uaids, $all) {
  foreach (heartbeat_plugins_get_active_plugins() as $pluginWrapper) {
    $plugin = $pluginWrapper
      ->getPlugin();
    if ($plugin) {
      $plugin
        ->activityRemoved($uaids, $all);
    }
  }
}