diff options
author | Simon Rettberg | 2020-01-16 13:41:05 +0100 |
---|---|---|
committer | Simon Rettberg | 2020-01-16 13:41:05 +0100 |
commit | 8230e5e308005bf9267e1377dc9e10c7cac3ba2b (patch) | |
tree | 6c975a263856beb9e2252daebc1cb4f325994299 /modules-available/sysconfig | |
parent | [sysconfig] Screensaver: Disallow download (diff) | |
download | slx-admin-8230e5e308005bf9267e1377dc9e10c7cac3ba2b.tar.gz slx-admin-8230e5e308005bf9267e1377dc9e10c7cac3ba2b.tar.xz slx-admin-8230e5e308005bf9267e1377dc9e10c7cac3ba2b.zip |
[sysconfig] Remove dead code
Diffstat (limited to 'modules-available/sysconfig')
-rw-r--r-- | modules-available/sysconfig/page.inc.php | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/modules-available/sysconfig/page.inc.php b/modules-available/sysconfig/page.inc.php index b64c7a5c..fa04d088 100644 --- a/modules-available/sysconfig/page.inc.php +++ b/modules-available/sysconfig/page.inc.php @@ -22,39 +22,6 @@ class Page_SysConfig extends Page private $haveOverriddenLocations = false; - /** - * Add a known configuration module. Every addmoule_* file should call this - * for its module provided. - * - * @param string $id Internal identifier for the module - * @param string $startClass Class to start wizard for creating such a module - * @param string $title Title of this module type - * @param string $description Description for this module type - * @param string $group Title for group this module type belongs to - * @param bool $unique Can only one such module be added to a config? - * @param int $sortOrder Lower comes first, alphabetical ordering otherwiese - */ - public static function addModule($id, $startClass, $title, $description, $group, $unique, $sortOrder = 0) - { - self::$moduleTypes[$id] = array( - 'startClass' => $startClass, - 'title' => $title, - 'description' => $description, - 'group' => $group, - 'unique' => $unique, - 'sortOrder' => $sortOrder - ); - } - - /** - * - * @return array All registered module types - */ - public static function getModuleTypes() - { - return self::$moduleTypes; - } - protected function doPreprocess() { User::load(); |