From 8ab80bd42cacb0b416e609a22ec850df6132eb5c Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 10 Sep 2025 14:27:02 +0200 Subject: [PATCH] remove unused variables and old code --- out/out.ExtensionMgr.php | 4 ---- views/bootstrap/class.ExtensionMgr.php | 1 - 2 files changed, 5 deletions(-) diff --git a/out/out.ExtensionMgr.php b/out/out.ExtensionMgr.php index ccbb7a46c..e0f47ca25 100644 --- a/out/out.ExtensionMgr.php +++ b/out/out.ExtensionMgr.php @@ -34,9 +34,6 @@ if (!$user->isAdmin()) { UI::exitError(getMLText("admin_tools"),getMLText("access_denied")); } -//$reposurl = $settings->_repositoryUrl; -//$extMgr = new SeedDMS_Extension_Mgr($settings->_rootDir."/ext", $settings->_cacheDir, $reposurl); - $v = new SeedDMS_Version; if(isset($_GET['currenttab'])) $currenttab = $_GET['currenttab']; @@ -55,7 +52,6 @@ if($view) { $view->setParam('extmgr', $extMgr); $view->setParam('currenttab', $currenttab); $view->setParam('extname', $extname); - $view->setParam('reposurl', $reposurl); $view($_GET); exit; } diff --git a/views/bootstrap/class.ExtensionMgr.php b/views/bootstrap/class.ExtensionMgr.php index 2a3e6aacb..4ef1f5f2b 100644 --- a/views/bootstrap/class.ExtensionMgr.php +++ b/views/bootstrap/class.ExtensionMgr.php @@ -296,7 +296,6 @@ class SeedDMS_View_ExtensionMgr extends SeedDMS_Theme_Style { $extmgr = $this->params['extmgr']; $extconf = $extmgr->getExtensionConfiguration(); $currenttab = $this->params['currenttab']; - $reposurl = $this->params['reposurl']; $this->htmlStartPage(getMLText("admin_tools")); $this->globalNavigation();