GUI -- Topology Overlay - removed dead code.
Change-Id: I8be1b072d6b7a20aadffcd5463b02a222ff4248d
diff --git a/web/gui/src/main/webapp/app/view/topo/topoOverlay.js b/web/gui/src/main/webapp/app/view/topo/topoOverlay.js
index 7eb45ba..0b3b88d 100644
--- a/web/gui/src/main/webapp/app/view/topo/topoOverlay.js
+++ b/web/gui/src/main/webapp/app/view/topo/topoOverlay.js
@@ -107,27 +107,6 @@
$log.debug(tos + 'registered overlay: ' + id, overlay);
}
- // TODO: remove this redundant code.......
- // NOTE: unregister needs to be called if an app is ever
- // deactivated/uninstalled via the applications view
-/*
- function unregister(overlay) {
- var u = 'unregister',
- over = fs.isO(overlay),
- id = over ? over.overlayId : '';
-
- if (!id) {
- return error(u, 'not a recognized overlay');
- }
- if (!overlays[id]) {
- return warn(u, 'not registered: "' + id + "'")
- }
- delete overlays[id];
- $log.debug(tos + 'unregistered overlay: ' + id);
- }
-*/
-
-
// returns the list of overlay identifiers
function list() {
return d3.map(overlays).keys();
@@ -394,7 +373,6 @@
return {
register: register,
- //unregister: unregister,
setApi: setApi,
list: list,
augmentRbset: augmentRbset,