Skip to content

Commit

Permalink
Merge pull request #13447 from eileenmcnaughton/dumb_stuff
Browse files Browse the repository at this point in the history
[tidy-up] remove a couple of useless bits of code
  • Loading branch information
seamuslee001 authored Jan 14, 2019
2 parents 8555117 + 88bd6eb commit 0365eff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion api/v3/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ function civicrm_api3_file_create($params) {
* Array of all found file object property values.
*/
function civicrm_api3_file_get($params) {
civicrm_api3_verify_one_mandatory($params);
return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params);
}

Expand Down
2 changes: 1 addition & 1 deletion tests/phpunit/CiviTest/CiviUnitTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -2727,7 +2727,7 @@ public function setupACL($isProfile = FALSE) {
if (!$isProfile) {
//flush cache
CRM_ACL_BAO_Cache::resetCache();
CRM_ACL_API::groupPermission('whatever', 9999, NULL, 'civicrm_saved_search', NULL, NULL, TRUE);
CRM_ACL_API::groupPermission('whatever', 9999, NULL, 'civicrm_saved_search', NULL, NULL);
}
}

Expand Down

0 comments on commit 0365eff

Please sign in to comment.