You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ad...@apache.org on 2007/12/21 20:32:29 UTC

svn commit: r606283 - /ofbiz/trunk/framework/common/src/org/ofbiz/common/preferences/PreferenceWorker.java

Author: adrianc
Date: Fri Dec 21 11:32:29 2007
New Revision: 606283

URL: http://svn.apache.org/viewvc?rev=606283&view=rev
Log:
Oops, I forgot to remove debugging code before the last commit.

Modified:
    ofbiz/trunk/framework/common/src/org/ofbiz/common/preferences/PreferenceWorker.java

Modified: ofbiz/trunk/framework/common/src/org/ofbiz/common/preferences/PreferenceWorker.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/src/org/ofbiz/common/preferences/PreferenceWorker.java?rev=606283&r1=606282&r2=606283&view=diff
==============================================================================
--- ofbiz/trunk/framework/common/src/org/ofbiz/common/preferences/PreferenceWorker.java (original)
+++ ofbiz/trunk/framework/common/src/org/ofbiz/common/preferences/PreferenceWorker.java Fri Dec 21 11:32:29 2007
@@ -24,7 +24,6 @@
 
 import javolution.util.FastMap;
 
-import org.ofbiz.base.util.Debug;
 import org.ofbiz.base.util.GeneralException;
 import org.ofbiz.base.util.ObjectType;
 import org.ofbiz.base.util.UtilMisc;
@@ -108,8 +107,6 @@
     public static Map checkPermission(DispatchContext ctx, Map context) {
         boolean hasPermission = false;
         String mainAction = (String) context.get("mainAction");
-        Debug.logInfo("mainAction = " + mainAction, module);
-        Debug.logInfo("userLoginId = " + context.get("userLoginId"), module);
         if ("VIEW".equals(mainAction)) {
             if (DEFAULT_UID.equals(context.get("userLoginId"))) {
                 hasPermission = true;