turned off the debugging
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@770408 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -20,11 +20,11 @@
|
||||
import org.ofbiz.base.util.Debug;
|
||||
|
||||
exampleId = permissionContext.get("exampleId");
|
||||
Debug.logInfo("Groovy DA Context : " + permissionContext, "groovy");
|
||||
Debug.logInfo("Calling UpdateExample.groovy - " + exampleId, "groovy");
|
||||
//Debug.logInfo("Groovy DA Context : " + permissionContext, "groovy");
|
||||
//Debug.logInfo("Calling UpdateExample.groovy - " + exampleId, "groovy");
|
||||
if (exampleId != null) {
|
||||
example = delegator.findOne("Example", [exampleId : exampleId], true);
|
||||
Debug.logInfo("Example : " + example, "groovy");
|
||||
//Debug.logInfo("Example : " + example, "groovy");
|
||||
|
||||
if (example.createdByUser == null || userId.equals(example.createdByUser)) {
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user