From d698af153772ca4351ad3b23fbb987fc749890af Mon Sep 17 00:00:00 2001 From: zhangab Date: Wed, 18 Apr 2018 09:11:56 +0800 Subject: Fix Security/Vulnerability problems Change-Id: Ie0f2c9e0794941d9b9a7f00a6c3d349269d98ed1 Issue-ID: USECASEUI-104 Signed-off-by: zhangab --- .../scripts/DS2-services/userInfoServiceDS2.js | 32 ---------------------- 1 file changed, 32 deletions(-) delete mode 100644 usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/userInfoServiceDS2.js (limited to 'usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/userInfoServiceDS2.js') diff --git a/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/userInfoServiceDS2.js b/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/userInfoServiceDS2.js deleted file mode 100644 index cfb12dd5..00000000 --- a/usecaseui-common/src/main/webapp/app/fusion/scripts/DS2-services/userInfoServiceDS2.js +++ /dev/null @@ -1,32 +0,0 @@ -appDS2.factory('UserInfoServiceDS2', function ($http, $q,$log) { - return { - getFunctionalMenuStaticDetailShareContext: function(contextId,key) { - var deferred = $q.defer(); - $http({ - method: "GET", - url: "get_userinfo", - }).success( function(res) { - if(res==null || res=='') - $log.error('userInfoServiceDs2: failed to get user info'); - deferred.resolve(res); - }).error( function(status) { - deferred.reject(status); - }); - return deferred.promise; - }, - getFunctionalMenuStaticDetailSession: function() { - var deferred = $q.defer(); - $http({ - method: "GET", - url: "get_topMenuInfo", - }).success(function(res) { - if(res==null || res=='') - $log.error('userInfoServiceDs2: failed to get top menu info'); - deferred.resolve(res); - }).error( function(status) { - deferred.reject(status); - }); - return deferred.promise; - } - }; -}); -- cgit 1.2.3-korg