← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 10311: Debug code

 

------------------------------------------------------------
revno: 10311
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2013-03-19 13:34:36 +0100
message:
  Debug code
modified:
  dhis-2/dhis-support/dhis-support-hibernate/src/main/java/org/hisp/dhis/hibernate/HibernateGenericStore.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-support/dhis-support-hibernate/src/main/java/org/hisp/dhis/hibernate/HibernateGenericStore.java'
--- dhis-2/dhis-support/dhis-support-hibernate/src/main/java/org/hisp/dhis/hibernate/HibernateGenericStore.java	2013-03-18 16:39:07 +0000
+++ dhis-2/dhis-support/dhis-support-hibernate/src/main/java/org/hisp/dhis/hibernate/HibernateGenericStore.java	2013-03-19 12:34:36 +0000
@@ -273,7 +273,6 @@
             throw new AccessDeniedException( "You do not have read access to object with id " + id + "." );
         }
 
-        // AuditLogUtil.infoWrapper( log, currentUserService.getCurrentUsername(), object, AuditLogUtil.ACTION_READ );
         return object;
     }
 
@@ -289,7 +288,6 @@
             throw new AccessDeniedException( "You do not have read access to object with id " + id );
         }
 
-        // AuditLogUtil.infoWrapper( log, currentUserService.getCurrentUsername(), object, AuditLogUtil.ACTION_READ );
         return object;
     }
 
@@ -304,7 +302,6 @@
             throw new AccessDeniedException( "You do not have read access to object with uid " + uid );
         }
 
-        // AuditLogUtil.infoWrapper( log, currentUserService.getCurrentUsername(), object, AuditLogUtil.ACTION_READ );
         return object;
     }
 
@@ -320,7 +317,6 @@
             throw new AccessDeniedException( "You do not have read access to object with name " + name );
         }
 
-        // AuditLogUtil.infoWrapper( log, currentUserService.getCurrentUsername(), object, AuditLogUtil.ACTION_READ );
         return object;
     }
 
@@ -336,7 +332,6 @@
             throw new AccessDeniedException( "You do not have read access to object with shortName " + shortName );
         }
 
-        // AuditLogUtil.infoWrapper( log, currentUserService.getCurrentUsername(), object, AuditLogUtil.ACTION_READ );
         return object;
     }
 
@@ -351,7 +346,6 @@
             throw new AccessDeniedException( "You do not have read access to object with code " + code );
         }
 
-        // AuditLogUtil.infoWrapper( log, currentUserService.getCurrentUsername(), object, AuditLogUtil.ACTION_READ );
         return object;
     }