diff --git a/module/instance/control.php b/module/instance/control.php index 2220240464..f354aeae8f 100644 --- a/module/instance/control.php +++ b/module/instance/control.php @@ -366,21 +366,6 @@ class instance extends control return $this->send($response); } - /** - * 自定义安装应用。 - * Install app by custom settings. - * - * @param int $id - * @access public - * @return void - */ - public function customInstall(int $id) - { - // Disable custom installation in version 1.0. - $storeUrl = $this->createLink('store', 'appview', "id=$id"); - return js::execute("window.parent.location.href='{$storeUrl}';"); - } - /** * 安装应用。 * Install app. diff --git a/module/instance/model.php b/module/instance/model.php index d925533ed3..3aa60e0be6 100644 --- a/module/instance/model.php +++ b/module/instance/model.php @@ -1619,58 +1619,6 @@ class InstanceModel extends model return $newList; } - /* - * Get instance switcher. - * - * @param object $instance - * @access public - * @return string - */ - public function getSwitcher($instance) - { - $instanceLink = helper::createLink('instance', 'view', "id=$instance->id"); - - $output = "