From: Coleman Watts Date: Mon, 4 Jan 2016 22:56:28 +0000 (-0500) Subject: Cleanup - rm unused vars X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d6eb0c11c2ee0798b298aa716fa8eefd24dd8bcf;p=civicrm-core.git Cleanup - rm unused vars --- diff --git a/CRM/Case/BAO/Case.php b/CRM/Case/BAO/Case.php index 61e223869f..fdb0a4ab4e 100644 --- a/CRM/Case/BAO/Case.php +++ b/CRM/Case/BAO/Case.php @@ -545,20 +545,16 @@ WHERE cc.contact_id = %1 AND civicrm_case_type.name = '{$caseType}'"; /** * @param string $type * @param int $userID - * @param null $condition - * @param int $isDeleted + * @param string $condition * * @return string */ - public static function getCaseActivityQuery($type = 'upcoming', $userID = NULL, $condition = NULL, $isDeleted = 0) { + public static function getCaseActivityQuery($type = 'upcoming', $userID = NULL, $condition = NULL) { if (!$userID) { $session = CRM_Core_Session::singleton(); $userID = $session->get('userID'); } - $actStatus = array_flip(CRM_Core_PseudoConstant::activityStatus('name')); - $scheduledStatusId = $actStatus['Scheduled']; - $query = "SELECT civicrm_case.id as case_id, civicrm_case.subject as case_subject,