From 0442fefcf274c5fcb97266af5d3ea3d3bc55821a Mon Sep 17 00:00:00 2001
From: Johannes Hoermann <j.hoermann@adito.de>
Date: Wed, 17 Jul 2019 13:01:21 +0200
Subject: [PATCH] remove logging

---
 entity/Communication_entity/entityfields/addr/onValueChange.js | 1 -
 process/Communication_lib/process.js                           | 3 ---
 2 files changed, 4 deletions(-)

diff --git a/entity/Communication_entity/entityfields/addr/onValueChange.js b/entity/Communication_entity/entityfields/addr/onValueChange.js
index 33c6de3393e..162a469de33 100644
--- a/entity/Communication_entity/entityfields/addr/onValueChange.js
+++ b/entity/Communication_entity/entityfields/addr/onValueChange.js
@@ -1,4 +1,3 @@
-import("system.logging");
 import("WsValidation_lib");
 import("system.neon");
 import("KeywordRegistry_basic");
diff --git a/process/Communication_lib/process.js b/process/Communication_lib/process.js
index 36f8346b75b..fa127e6087e 100644
--- a/process/Communication_lib/process.js
+++ b/process/Communication_lib/process.js
@@ -1,4 +1,3 @@
-import("system.logging");
 import("system.db");
 import("system.vars");
 import("system.datetime");
@@ -219,9 +218,7 @@ CommValidationUtil.makeValidationFn = function (commCategory)
             callbackFn = function (addrValue, ext){
                 var country = ext.countryCode;
                 
-                logging.log("Val: " + JSON.stringify([addrValue, false, country], null, "\t"))
                 if (!cti.isValidPhoneNumber(addrValue, false, country)) {
-                    logging.log("NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO");
                     return translate.text("no valid phone number");
                 }
                     
-- 
GitLab