/**
 * Trigger the removal of plugin data if a bug was removed
 *
 * @param $event
 * @param $bug_id
 */
function deleteBugReference($event, $bug_id)
{
    require_once STORYBOARD_CORE_URI . 'storyboard_db_api.php';
    $storyboard_db_api = new storyboard_db_api();
    $storyboard_db_api->delete_story_card($bug_id);
}