From 292dbeac9be88e857cd8f97d9b26ae303c62148b Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20Mudr=C3=A1k?= Date: Thu, 11 Oct 2012 12:39:11 +0200 Subject: [PATCH] MDL-35238 Support deployment from yet another plugins check page too --- admin/index.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/admin/index.php b/admin/index.php index ed33c006014..2f88126da1a 100644 --- a/admin/index.php +++ b/admin/index.php @@ -317,6 +317,17 @@ if (moodle_needs_upgrading()) { $output = $PAGE->get_renderer('core', 'admin'); + $deployer = available_update_deployer::instance(); + if ($deployer->enabled()) { + $deployer->initialize($PAGE->url, $PAGE->url); + + $deploydata = $deployer->submitted_data(); + if (!empty($deploydata)) { + echo $output->upgrade_plugin_confirm_deploy_page($deployer, $deploydata); + die(); + } + } + // check plugin dependencies first $failed = array(); if (!plugin_manager::instance()->all_plugins_ok($version, $failed)) { -- 2.11.4.GIT