From 6e80d3a5400d40eb1c0b2068571c866858465085 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Thu, 23 May 2019 08:52:22 -0400 Subject: [PATCH] Make apiRequst nextId accessible for api4 constructor --- Civi/API/Request.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Civi/API/Request.php b/Civi/API/Request.php index b40ece71e7..9a101002a5 100644 --- a/Civi/API/Request.php +++ b/Civi/API/Request.php @@ -115,4 +115,8 @@ class Request { return strtolower(\CRM_Utils_String::munge($action)); } + public static function getNextId() { + return self::$nextId++; + } + } -- 2.25.1