fix up comments
authorAlice Frumin <alice@aghstrategies.com>
Tue, 13 Dec 2022 18:53:18 +0000 (13:53 -0500)
committerAlice Frumin <alice@aghstrategies.com>
Tue, 13 Dec 2022 18:53:18 +0000 (13:53 -0500)
ext/search_kit/Civi/Api4/Action/SearchDisplay/GetSearchTasks.php

index f801948a19541925149a74befdb723eb6d9b6d13..4602832d230c08effb440518b239c56ad718ab84 100644 (file)
@@ -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',