From 19495321d2374afaf1081ca26eee8b8d70fba668 Mon Sep 17 00:00:00 2001 From: Hasunie Date: Mon, 19 Jun 2017 19:23:01 +0530 Subject: [PATCH] removing unnecessary lines --- .../devicemgt/app/modules/business-controllers/user.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/modules/business-controllers/user.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/modules/business-controllers/user.js index ff37153c43..24e7cc696d 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/modules/business-controllers/user.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/modules/business-controllers/user.js @@ -110,13 +110,11 @@ var userModule = function () { * @returns {number} HTTP Status code 201 if succeeded, 409 if user already exists */ publicMethods.registerUser = function (username, firstname, lastname, emailAddress, password, userRoles) { - log.info("Register user:::::::::"); var carbon = require('carbon'); var tenantId = carbon.server.tenantId(); var url = carbon.server.address('https') + "/admin/services"; var server = new carbon.server.Server(url); var userManager = new carbon.user.UserManager(server, tenantId); - try { if (userManager.userExists(username)) { if (log.isDebugEnabled()) {