Permalink
Browse files

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

  • Loading branch information...
1 parent 23137c4 commit 292dbeac9be88e857cd8f97d9b26ae303c62148b @mudrd8mz mudrd8mz committed Oct 11, 2012
Showing with 11 additions and 0 deletions.
  1. +11 −0 admin/index.php
View
@@ -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)) {

0 comments on commit 292dbea

Please sign in to comment.