From b12a59da0754371932fe05901c141e5a2037193a Mon Sep 17 00:00:00 2001 From: James Date: Fri, 2 Dec 2016 12:31:01 -0800 Subject: [PATCH] addpop is now deprecated in API 1 functions Updated addpop method to use API 2 --- xmlapi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmlapi.php b/xmlapi.php index 51b65dc..8c40cd2 100644 --- a/xmlapi.php +++ b/xmlapi.php @@ -2329,7 +2329,7 @@ public function addpop($username, $args) return false; } - return $this->api1_query($username, 'Email', 'addpop', $args); + return $this->api2_query($username, 'Email', 'addpop', $args); } // This API function parks a domain onto this user's account