From 82753931f5c71fe80fdbd91aee9410bd363ac471 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Wed, 10 Aug 2016 15:11:05 -0400 Subject: [PATCH] Remove old Olark code Fixes #1696 --- static/js/services/user-service.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/static/js/services/user-service.js b/static/js/services/user-service.js index f3e93d301..b205d331f 100644 --- a/static/js/services/user-service.js +++ b/static/js/services/user-service.js @@ -53,20 +53,6 @@ function(ApiService, CookieService, $rootScope, Config) { } } - if (window.olark !== undefined) { - try { - olark('api.visitor.getDetails', function(details) { - if (details.fullName === null) { - olark('api.visitor.updateFullName', {fullName: userResponse.username}); - } - }); - olark('api.visitor.updateEmailAddress', {emailAddress: userResponse.email}); - olark('api.chat.updateVisitorStatus', {snippet: 'username: ' + userResponse.username}); - } catch (e) { - window.console.log(e); - } - } - if (window.Raven !== undefined) { try { Raven.setUser({