Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-35238 Support deployment from yet another plugins check page too

  • Loading branch information...
commit 292dbeac9be88e857cd8f97d9b26ae303c62148b 1 parent 23137c4
@mudrd8mz mudrd8mz authored
Showing with 11 additions and 0 deletions.
  1. +11 −0 admin/index.php
View
11 admin/index.php
@@ -317,6 +317,17 @@
$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)) {
Please sign in to comment.
Something went wrong with that request. Please try again.