From ea56b6c77022e4f98908aae9f346bb725a14de7e Mon Sep 17 00:00:00 2001 From: Joseph White Date: Tue, 25 Apr 2017 14:34:41 -0400 Subject: [PATCH 1/2] Remove unused code. Looks like this code dates back to early 2011. At some point the main implementation must have been removed but these changes were erroneously left in. --- html/controllers/session_pool.php | 102 ------------------------------ html/gui/js/Viewer.js | 4 +- html/index.php | 25 -------- 3 files changed, 1 insertion(+), 130 deletions(-) delete mode 100644 html/controllers/session_pool.php diff --git a/html/controllers/session_pool.php b/html/controllers/session_pool.php deleted file mode 100644 index 7f49b6e2ba..0000000000 --- a/html/controllers/session_pool.php +++ /dev/null @@ -1,102 +0,0 @@ - \ No newline at end of file diff --git a/html/gui/js/Viewer.js b/html/gui/js/Viewer.js index e6bbcd9553..7ca58135d6 100644 --- a/html/gui/js/Viewer.js +++ b/html/gui/js/Viewer.js @@ -430,7 +430,7 @@ Ext.extend(CCR.xdmod.ui.Viewer, Ext.Viewport, { continue; } tabPanel.add(tabInstance); - if (tab.isDefault == true && !isCallCached) { + if (tab.isDefault) { tabToken = tabToken || mainTabToken + CCR.xdmod.ui.tokenDelimiter + tab.tab; } } @@ -439,8 +439,6 @@ Ext.extend(CCR.xdmod.ui.Viewer, Ext.Viewport, { mainPanel.el.unmask(); } - consultCallCache(); - //Conditionally present the profile if an e-mail address has not been set xsedeProfilePrompt(); diff --git a/html/index.php b/html/index.php index f81acad09e..f013d3d644 100644 --- a/html/index.php +++ b/html/index.php @@ -491,8 +491,6 @@ function isReferrer($referrer)