From e40d3a124818c294fcf54134a2f64a39a3c63d87 Mon Sep 17 00:00:00 2001
From: Andrei Mondoc <andreimondoc@gmail.com>
Date: Tue, 4 Feb 2020 14:22:44 +0000
Subject: [PATCH] global namesapce

Signed-off-by: Kevin Cristiano <kcristiano@kcristiano.com>
---
 wp-rest/Controller/Rest.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/wp-rest/Controller/Rest.php b/wp-rest/Controller/Rest.php
index f3d6cf349a..1fe15caae9 100644
--- a/wp-rest/Controller/Rest.php
+++ b/wp-rest/Controller/Rest.php
@@ -519,7 +519,7 @@ class Rest extends Base {
 
 			// If this fails, get it from config.
 			if ( $domain_id === 0 ) {
-				$domain_id = CRM_Core_Config::domainID();
+				$domain_id = \CRM_Core_Config::domainID();
 			}
 
 			// Call API.
-- 
GitLab