CRM-20833: Change api4 entity namespace again
authormickadoo <michaeldevery@gmail.com>
Mon, 10 Jul 2017 16:28:45 +0000 (17:28 +0100)
committermickadoo <michaeldevery@gmail.com>
Mon, 10 Jul 2017 16:28:45 +0000 (17:28 +0100)
Civi/API/Request.php

index c60ceade9e6686e70a4386b4bb0ab05958d7cb71..8e08ec810ebe44465340e6bd4c19c933e0b05d67 100644 (file)
@@ -73,7 +73,7 @@ class Request {
         return $apiRequest;
 
       case 4:
-        $callable = array("Civi\\API\\V4\\Entity\\$entity", $action);
+        $callable = array("Civi\\Api4\\Entity\\$entity", $action);
         if (!is_callable($callable)) {
           throw new Exception\NotImplementedException("API ($entity, $action) does not exist (join the API team and implement it!)");
         }