From f8afb8b5f4ef49cb9c3baae226956fb2fb1e9f51 Mon Sep 17 00:00:00 2001 From: Johannes Hoermann <j.hoermann@adito.de> Date: Wed, 12 Jun 2019 10:32:51 +0200 Subject: [PATCH] remove logging --- entity/ClassificationAdmin_entity/grantDeleteProcess.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/entity/ClassificationAdmin_entity/grantDeleteProcess.js b/entity/ClassificationAdmin_entity/grantDeleteProcess.js index 0b3ed93eea..6a0202d0b0 100644 --- a/entity/ClassificationAdmin_entity/grantDeleteProcess.js +++ b/entity/ClassificationAdmin_entity/grantDeleteProcess.js @@ -1,11 +1,8 @@ -import("system.logging"); import("system.result"); import("system.db"); import("system.vars"); import("Sql_lib"); -logging.log("grantDelete " + (parseInt(db.cell(SqlCondition.begin() - .andPrepare("CLASSIFICATION.CLASSIFICATIONTYPE_ID", vars.get("$field.CLASSIFICATIONTYPEID")) - .buildSql("select count(*) from CLASSIFICATION", "1=2"))) <= 0)) + result.object(parseInt(db.cell(SqlCondition.begin() .andPrepare("CLASSIFICATION.CLASSIFICATIONTYPE_ID", vars.get("$field.CLASSIFICATIONTYPEID")) .buildSql("select count(*) from CLASSIFICATION", "1=2"))) <= 0); \ No newline at end of file -- GitLab