Skip to content
Snippets Groups Projects
Commit 2d66ec23 authored by Ravish Nair's avatar Ravish Nair
Browse files

-- CRM-12410 Minor QA fix

parent 557f8788
Branches
Tags
No related merge requests found
......@@ -2198,10 +2198,8 @@ AND cl.modified_id = c.id
while ($activityContact->fetch()) {
// finally delete activity.
if (CRM_Core_DAO::singleValueQuery($sql)) {
$activityParams = array('id' => $activityContact->activity_id);
$result = self::deleteActivity($activityParams);
}
$activityParams = array('id' => $activityContact->activity_id);
$result = self::deleteActivity($activityParams);
}
$activityContact->free();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment