From cf5a00cd4983f265dc9747ec209ca648cb2d91b7 Mon Sep 17 00:00:00 2001 From: Nigel Kukard <nkukard@lbsd.net> Date: Sat, 29 Sep 2012 09:21:46 +0000 Subject: [PATCH] Added function to translate return codes --- modules/registrars/cozaepp/cozaepp.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/registrars/cozaepp/cozaepp.php b/modules/registrars/cozaepp/cozaepp.php index 715f772..0c9fd5b 100644 --- a/modules/registrars/cozaepp/cozaepp.php +++ b/modules/registrars/cozaepp/cozaepp.php @@ -782,6 +782,14 @@ function cozaepp_DeleteNameserver($params) { } +# Function to return meaningful message from response code +function _cozaepp_message($code) { + + return "Code $code"; + +} + + # Function to create internal COZA EPP request function _cozaepp_Client() { # Setup include dir -- GitLab