public function RemoteInstallConfirmed($type = 'plugin') { $_POST += array('order' => ''); $installer = new \gp\admin\Addon\Installer(); $installer->code_folder_name = $this->code_folder_name; $installer->config_index = $this->config_index; $installer->InstallRemote($type, $_POST['id'], $_POST['order']); $installer->OutputMessages(); return $installer; }