Remove unused variables
authorEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 7 Feb 2023 01:58:54 +0000 (14:58 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Sun, 26 Feb 2023 20:42:36 +0000 (09:42 +1300)
CRM/Dedupe/Merger.php

index 7171b54b22dcce102137671dcffb993feafdd982..7fdb55f5850588f46625410fb085895933b2fda0 100644 (file)
@@ -1726,8 +1726,6 @@ INNER JOIN  civicrm_membership membership2 ON membership1.membership_type_id = m
     $returnAll = FALSE,
     $checkPermission = CRM_Core_Permission::EDIT
   ) {
-    $singleRecord = NULL;
-    $showPublicOnly = FALSE;
     if ($checkPermission === TRUE) {
       CRM_Core_Error::deprecatedWarning('Unexpected TRUE passed to CustomGroup::getTree $checkPermission param.');
       $checkPermission = CRM_Core_Permission::EDIT;