Skip to content

Commit

Permalink
Merge pull request #10625 from mickadoo/CRM-20833-update-api4-entity-…
Browse files Browse the repository at this point in the history
…namespace

CRM-20833: Change APIv4 Entity Namespace
  • Loading branch information
colemanw authored Jul 8, 2017
2 parents 8541966 + 3d89b70 commit 7bfe1d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Civi/API/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public static function create($entity, $action, $params, $extra = NULL) {
return $apiRequest;

case 4:
$callable = array("Civi\\Api4\\$entity", $action);
$callable = array("Civi\\API\\V4\\Entity\\$entity", $action);
if (!is_callable($callable)) {
throw new Exception\NotImplementedException("API ($entity, $action) does not exist (join the API team and implement it!)");
}
Expand Down

0 comments on commit 7bfe1d0

Please sign in to comment.