summaryrefslogtreecommitdiff
path: root/addons/im_support/static/src/js/support_bus.js
diff options
context:
space:
mode:
authorSébastien Theys <seb@odoo.com>2020-06-09 10:58:52 +0000
committerSébastien Theys <seb@odoo.com>2020-06-09 10:58:52 +0000
commit87f49b0616d67ea00e4e15db81459ed33310abec (patch)
tree6feb9b26bdfbdcfa22139257c5ebba5c48ab0fbc /addons/im_support/static/src/js/support_bus.js
parent302bf7c1bba0f647666e90010a4159884fa48d0f (diff)
[REM] im_support: remove im_support module
The goal of the module was to communicate with livechat operators on our production server, except the feature is disabled on our prod and we don't plan to reactivate it any time soon. closes odoo/odoo#52691 Related: odoo/upgrade#1313 Signed-off-by: Christophe Simonis <chs@odoo.com>
Diffstat (limited to 'addons/im_support/static/src/js/support_bus.js')
-rw-r--r--addons/im_support/static/src/js/support_bus.js30
1 files changed, 0 insertions, 30 deletions
diff --git a/addons/im_support/static/src/js/support_bus.js b/addons/im_support/static/src/js/support_bus.js
deleted file mode 100644
index ed0d22c1257..00000000000
--- a/addons/im_support/static/src/js/support_bus.js
+++ /dev/null
@@ -1,30 +0,0 @@
-odoo.define('im_support.SupportBus', function (require) {
-"use strict";
-
-/**
- * This module instantiates and exports the instance of the Bus, parameterized
- * to poll the Support server.
- */
-
-var BusService = require('bus.BusService');
-var supportSession = require('im_support.SupportSession');
-var core = require('web.core');
-
-var SupportBusService = BusService.extend({
- LOCAL_STORAGE_PREFIX: 'im_support',
- POLL_ROUTE: '/longpolling/support_poll',
-
- /**
- * @override _makePoll to force the remote session
- */
- _makePoll: function(data) {
- return supportSession.rpc(this.POLL_ROUTE, data, {shadow : true, timeout: 60000});
- },
-});
-
-core.serviceRegistry.add('support_bus_service', SupportBusService);
-
-return SupportBusService;
-
-});
-