From f5f6a9fe443c83c732a57f992677907ff8e3e9fa Mon Sep 17 00:00:00 2001 From: Alice Frumin Date: Tue, 13 Dec 2022 13:53:18 -0500 Subject: [PATCH] fix up comments --- .../Civi/Api4/Action/SearchDisplay/GetSearchTasks.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ext/search_kit/Civi/Api4/Action/SearchDisplay/GetSearchTasks.php b/ext/search_kit/Civi/Api4/Action/SearchDisplay/GetSearchTasks.php index f801948a19..4602832d23 100644 --- a/ext/search_kit/Civi/Api4/Action/SearchDisplay/GetSearchTasks.php +++ b/ext/search_kit/Civi/Api4/Action/SearchDisplay/GetSearchTasks.php @@ -139,10 +139,8 @@ class GetSearchTasks extends \Civi\Api4\Generic\AbstractAction { } $key = \CRM_Core_Key::get(\CRM_Utils_Array::first((array) $task['class']), TRUE); - //break out mailing labels (and/or others) for redirect instead of crmPopup + //break out mailing labels for redirect instead of crmPopup if ($task['title'] == 'Mailing labels - print') { - //this is questionable see below - // $url = $task['url'] . '?qfKey=' . $key; $tasks[$entity['name']]['contact.' . $id] = [ 'title' => $task['title'], 'icon' => $task['icon'] ?? 'fa-gear', -- 2.25.1