Clean up extraneous if clause
authorElliott Eggleston <ejegg@ejegg.com>
Wed, 13 Jan 2016 00:31:54 +0000 (16:31 -0800)
committerElliott Eggleston <ejegg@ejegg.com>
Wed, 13 Jan 2016 00:31:54 +0000 (16:31 -0800)
Was returning same thing in either case.

api/v3/utils.php

index 46b20aff95267d10f049825a0e4b8fbed2162a56..a63c15f5608c5812edc4e09ab8aba68983a61ff9 100644 (file)
@@ -627,10 +627,6 @@ function _civicrm_api3_get_using_query_object($entity, $params, $additional_opti
     $skipPermissions,
     $mode
   );
-  if ($getCount) {
-    // only return the count of contacts
-    return $entities;
-  }
 
   return $entities;
 }