mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-11-28 18:40:39 +00:00
remove unused variables and old code
This commit is contained in:
parent
5fd15ecec3
commit
8ab80bd42c
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user