summaryrefslogtreecommitdiffstats
path: root/modules/sysconfig/addmodule.inc.php
diff options
context:
space:
mode:
authorJonathan Bauer2016-04-01 16:50:13 +0200
committerJonathan Bauer2016-04-01 16:50:13 +0200
commitdbc0d9614421e064cc62aacf116ebb783c83f2f3 (patch)
tree091844b8578ff1d9ac18edfd3cee3e63210133d7 /modules/sysconfig/addmodule.inc.php
parent[ldapauth] Add homedir conf to ldap wizard (diff)
downloadslx-admin-dbc0d9614421e064cc62aacf116ebb783c83f2f3.tar.gz
slx-admin-dbc0d9614421e064cc62aacf116ebb783c83f2f3.tar.xz
slx-admin-dbc0d9614421e064cc62aacf116ebb783c83f2f3.zip
[merge] merging c3sl / fr - initial commit
Diffstat (limited to 'modules/sysconfig/addmodule.inc.php')
-rw-r--r--modules/sysconfig/addmodule.inc.php31
1 files changed, 1 insertions, 30 deletions
diff --git a/modules/sysconfig/addmodule.inc.php b/modules/sysconfig/addmodule.inc.php
index a20bda37..bcd8e796 100644
--- a/modules/sysconfig/addmodule.inc.php
+++ b/modules/sysconfig/addmodule.inc.php
@@ -18,35 +18,6 @@ abstract class AddModule_Base
* @var \ConfigModule
*/
protected $edit = false;
-
- protected $bag = false;
-
- private $bagId = false;
-
- protected function loadBag($createIfNone = true)
- {
- if ($this->bagId !== false)
- return $this->bagId;
- $bagId = Request::any('bag', '', 'string');
- $this->bag = Session::get($bagId);
- if ($this->bag === false) {
- if (!$createIfNone)
- return false;
- $this->bagId = dechex(rand());
- $this->bag = array();
- } else {
- $this->bagId = $bagId;
- }
- return $this->bagId;
- }
-
- protected function saveBag()
- {
- if ($this->bagId === false)
- return false;
- Session::set($this->bagId, $this->bag);
- return true;
- }
/**
*
@@ -160,7 +131,7 @@ class AddModule_Start extends AddModule_Base
$order[] = $module['sortOrder'];
}
array_multisort($order, SORT_ASC, $title, SORT_ASC, $mods);
- Render::addDialog(Dictionary::translate('lang_moduleAdd'), false, 'sysconfig/start', array('modules' => array_values($mods)));
+ Render::addDialog(Dictionary::translate('lang_moduleAdd'), false, 'start', array('modules' => array_values($mods)));
}
}