From b35e8aaf934ef8f5f68c47e580b0c24462289aff Mon Sep 17 00:00:00 2001 From: Damian Minkov Date: Fri, 24 Oct 2014 13:26:20 +0300 Subject: [PATCH] Removes unused, duplicate code method. --- app.js | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/app.js b/app.js index b7f7bb703..86994b428 100644 --- a/app.js +++ b/app.js @@ -1477,28 +1477,6 @@ function setView(viewName) { // } } -function hangUp() { - if (connection && connection.connected) { - // ensure signout - $.ajax({ - type: 'POST', - url: config.bosh, - async: false, - cache: false, - contentType: 'application/xml', - data: "", - success: function (data) { - console.log('signed out'); - console.log(data); - }, - error: function (XMLHttpRequest, textStatus, errorThrown) { - console.log('signout error', textStatus + ' (' + errorThrown + ')'); - } - }); - } - disposeConference(true); -} - $(document).bind('fatalError.jingle', function (event, session, error) {