You are here

public function HeartbeatFlagPlugin::removeFlagContent in Heartbeat 7

removeFlagContent().

File

modules/heartbeat_plugins/includes/heartbeatflagplugin.inc, line 86
Heartbeat Flag Base Plugin and some required utility functions.

Class

HeartbeatFlagPlugin
HeartbeatFlagPlugin abstract class.

Code

public function removeFlagContent($activityId) {
  db_delete('flag_content')
    ->condition('content_type', 'heartbeat_activity')
    ->condition('content_id', $activityId)
    ->execute();
}