|
|
|
@ -437,7 +437,7 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
|
|
|
|
|
DeviceManagementDataHolder.getInstance().getTraccarManagementService().addDevice(device);
|
|
|
|
|
} else {
|
|
|
|
|
if (log.isDebugEnabled()) {
|
|
|
|
|
log.info("Traccar is disabled");
|
|
|
|
|
log.debug("Traccar is disabled");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -527,7 +527,7 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
|
|
|
|
|
DeviceManagementDataHolder.getInstance().getTraccarManagementService().updateDevice(device);
|
|
|
|
|
} else {
|
|
|
|
|
if (log.isDebugEnabled()) {
|
|
|
|
|
log.info("Traccar is disabled");
|
|
|
|
|
log.debug("Traccar is disabled");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -617,7 +617,7 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
|
|
|
|
|
DeviceManagementDataHolder.getInstance().getTraccarManagementService().unLinkTraccarDevice(device.getEnrolmentInfo().getId());
|
|
|
|
|
} else {
|
|
|
|
|
if (log.isDebugEnabled()) {
|
|
|
|
|
log.info("Traccar is disabled");
|
|
|
|
|
log.debug("Traccar is disabled");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//procees to dis-enroll a device from traccar ends
|
|
|
|
@ -744,7 +744,7 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
if (log.isDebugEnabled()) {
|
|
|
|
|
log.info("Traccar is disabled");
|
|
|
|
|
log.debug("Traccar is disabled");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return true;
|
|
|
|
|