civicrm/civicrm-core — pull request #873 by ravishnair (2013-05-28 06:09:37+00:00)
Title: -- CRM-12410 Minor QA fix

Removed unwanted "if" condition as per changes in PR https://github.com/civicrm/civicrm-core/pull/526/files related to this issue. The variable $sql and queries were removed in this PR and while ($activityContact->fetch()) was used as a condition to delete the activities.