From: mickadoo Date: Sat, 8 Jul 2017 00:00:11 +0000 (+0100) Subject: CRM-20833: Change api4 entity namespace X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=3d89b70abfb824e319bc622b33a7ae4d9d4044c6;p=civicrm-core.git CRM-20833: Change api4 entity namespace --- diff --git a/Civi/API/Request.php b/Civi/API/Request.php index d44f769a6b..c60ceade9e 100644 --- a/Civi/API/Request.php +++ b/Civi/API/Request.php @@ -73,7 +73,7 @@ class Request { 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!)"); }