fixed indentation and styling

This commit is contained in:
2018-08-30 13:21:44 +01:00
parent e4feb3a9e9
commit 1c455e639f
3 changed files with 52 additions and 75 deletions

View File

@ -8,7 +8,8 @@ class CRM_ConstituentsOnly_BAO_Query extends CRM_Contact_BAO_Query_Interface {
return self::$_networkFields;
}
public function select(&$query) { }
public function select(&$query) {
}
/**
* Build where clause for ConstituentsOnly
@ -43,4 +44,3 @@ class CRM_ConstituentsOnly_BAO_Query extends CRM_Contact_BAO_Query_Interface {
}
}

View File

@ -43,7 +43,8 @@ class CRM_Utils_API_ConstituentsOnlyAPIWrapper implements API_Wrapper {
'sequential' => 1,
'contact_id' => array('=' => $api_result['id']),
));
} catch (CiviCRM_API3_Exception $e) {
}
catch (CiviCRM_API3_Exception $e) {
$error = $e->getMessage();
}
@ -58,4 +59,5 @@ class CRM_Utils_API_ConstituentsOnlyAPIWrapper implements API_Wrapper {
}
return $result;
}
}