Remove verify_mandatory that does nothing due to nothing to verify
authoreileen <emcnaughton@wikimedia.org>
Mon, 14 Jan 2019 05:22:49 +0000 (18:22 +1300)
committereileen <emcnaughton@wikimedia.org>
Mon, 14 Jan 2019 05:22:49 +0000 (18:22 +1300)
api/v3/File.php

index d1626bfb06935d2b9a782bb37faeb7f0ff6713e4..583d41e582bc2f058df13fb67a2594a078347120 100644 (file)
@@ -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);
 }