usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From toddn...@apache.org
Subject [24/50] git commit: remove unregister devices
Date Thu, 06 Nov 2014 00:15:10 GMT
remove unregister devices


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/d68967c2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/d68967c2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/d68967c2

Branch: refs/heads/two-dot-o
Commit: d68967c2fada77ce765c3a0d77431d444308d5cf
Parents: ba1396c
Author: Shawn Feldman <sfeldman@apache.org>
Authored: Mon Nov 3 10:16:11 2014 -0700
Committer: Shawn Feldman <sfeldman@apache.org>
Committed: Mon Nov 3 10:16:11 2014 -0700

----------------------------------------------------------------------
 .../apache/usergrid/services/users/devices/DevicesService.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/d68967c2/stack/services/src/main/java/org/apache/usergrid/services/users/devices/DevicesService.java
----------------------------------------------------------------------
diff --git a/stack/services/src/main/java/org/apache/usergrid/services/users/devices/DevicesService.java
b/stack/services/src/main/java/org/apache/usergrid/services/users/devices/DevicesService.java
index 4556eaa..1d6fd14 100644
--- a/stack/services/src/main/java/org/apache/usergrid/services/users/devices/DevicesService.java
+++ b/stack/services/src/main/java/org/apache/usergrid/services/users/devices/DevicesService.java
@@ -40,7 +40,7 @@ public class DevicesService extends org.apache.usergrid.services.devices.Devices
     @Override
     public ServiceResults putItemById( ServiceContext context, UUID id ) throws Exception
{
         logger.debug("Registering device {}", id);
-        unregisterDeviceToUsers(id,context.getOwner());
+//        unregisterDeviceToUsers(id,context.getOwner());
         ServiceResults results = super.putItemById( context, id );
         return results;
     }
@@ -49,7 +49,7 @@ public class DevicesService extends org.apache.usergrid.services.devices.Devices
     @Override
     public ServiceResults postItemById( ServiceContext context, UUID id ) throws Exception
{
         logger.info( "Attempting to connect an entity to device {}", id );
-        unregisterDeviceToUsers(id,context.getOwner());
+//        unregisterDeviceToUsers(id,context.getOwner());
         ServiceResults results = super.postItemById( context, id );
         return results;
     }


Mime
View raw message