From 0357931b0e6f8f38664d1977cea94a54bbef451a Mon Sep 17 00:00:00 2001
From: "a.schindlbeck" <a.schindlbeck@adito.de>
Date: Wed, 8 May 2019 10:50:12 +0200
Subject: [PATCH] Loggings entfernt

---
 .../children/archieve/onActionProcess.js                    | 6 ------
 .../children/setread/onActionProcess.js                     | 6 ------
 .../children/setunread/onActionProcess.js                   | 6 ------
 3 files changed, 18 deletions(-)

diff --git a/entity/Notification_entity/entityfields/setnotificationstate/children/archieve/onActionProcess.js b/entity/Notification_entity/entityfields/setnotificationstate/children/archieve/onActionProcess.js
index a32fae0a7a..8a6a2c0e84 100644
--- a/entity/Notification_entity/entityfields/setnotificationstate/children/archieve/onActionProcess.js
+++ b/entity/Notification_entity/entityfields/setnotificationstate/children/archieve/onActionProcess.js
@@ -6,22 +6,16 @@ import("system.neon");
 
 var user = tools.getCurrentUser();
 var selectedNotifications = JSON.parse(vars.get("$sys.selection"));
-logging.log("selectedNotifications: "+ typeof selectedNotifications + " " + selectedNotifications);
 
 var userNotis = notification.getUserNotifications(user["name"], null);
-logging.log("userNotis: " + userNotis);
 var contentId;
 
-
 for(var x = 0; x < selectedNotifications.length; x++)
 {
     for(var i = 0; i < userNotis.length; i++)
     {
-            logging.log("PROPID: " + userNotis[i][notification.PROP_ID]);
-            logging.log("PROPID2: " + selectedNotifications[x]);
         if(userNotis[i][notification.PROP_ID] == selectedNotifications[x])
         {
-            logging.log("success");
             contentId = userNotis[i][notification.PROP_CONTENTID];
             notification.updateUserNotificationState(user["name"], contentId, notification.STATE_ARCHIVE);
             break;
diff --git a/entity/Notification_entity/entityfields/setnotificationstate/children/setread/onActionProcess.js b/entity/Notification_entity/entityfields/setnotificationstate/children/setread/onActionProcess.js
index db0b5f2b8d..b00ff316d4 100644
--- a/entity/Notification_entity/entityfields/setnotificationstate/children/setread/onActionProcess.js
+++ b/entity/Notification_entity/entityfields/setnotificationstate/children/setread/onActionProcess.js
@@ -6,22 +6,16 @@ import("system.neon");
 
 var user = tools.getCurrentUser();
 var selectedNotifications = JSON.parse(vars.get("$sys.selection"));
-logging.log("selectedNotifications: "+ typeof selectedNotifications + " " + selectedNotifications);
 
 var userNotis = notification.getUserNotifications(user["name"], null);
-logging.log("userNotis: " + userNotis);
 var contentId;
 
-
 for(var x = 0; x < selectedNotifications.length; x++)
 {
     for(var i = 0; i < userNotis.length; i++)
     {
-            logging.log("PROPID: " + userNotis[i][notification.PROP_ID]);
-            logging.log("PROPID2: " + selectedNotifications[x]);
         if(userNotis[i][notification.PROP_ID] == selectedNotifications[x])
         {
-            logging.log("success");
             contentId = userNotis[i][notification.PROP_CONTENTID];
             notification.updateUserNotificationState(user["name"], contentId, notification.STATE_CONFIRMED);
             break;
diff --git a/entity/Notification_entity/entityfields/setnotificationstate/children/setunread/onActionProcess.js b/entity/Notification_entity/entityfields/setnotificationstate/children/setunread/onActionProcess.js
index 08ba8962c0..e2b7ef56da 100644
--- a/entity/Notification_entity/entityfields/setnotificationstate/children/setunread/onActionProcess.js
+++ b/entity/Notification_entity/entityfields/setnotificationstate/children/setunread/onActionProcess.js
@@ -6,22 +6,16 @@ import("system.neon");
 
 var user = tools.getCurrentUser();
 var selectedNotifications = JSON.parse(vars.get("$sys.selection"));
-logging.log("selectedNotifications: "+ typeof selectedNotifications + " " + selectedNotifications);
 
 var userNotis = notification.getUserNotifications(user["name"], null);
-logging.log("userNotis: " + userNotis);
 var contentId;
 
-
 for(var x = 0; x < selectedNotifications.length; x++)
 {
     for(var i = 0; i < userNotis.length; i++)
     {
-            logging.log("PROPID: " + userNotis[i][notification.PROP_ID]);
-            logging.log("PROPID2: " + selectedNotifications[x]);
         if(userNotis[i][notification.PROP_ID] == selectedNotifications[x])
         {
-            logging.log("success");
             contentId = userNotis[i][notification.PROP_CONTENTID];
             notification.updateUserNotificationState(user["name"], contentId, notification.STATE_UNSEEN);
             break;
-- 
GitLab