Remove old Olark code

Fixes #1696
This commit is contained in:
Joseph Schorr 2016-08-10 15:11:05 -04:00
parent bf34916b26
commit 82753931f5

View file

@ -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({