diff --git a/core/modules/system/lib/Drupal/system/Form/ModulesUninstallConfirmForm.php b/core/modules/system/lib/Drupal/system/Form/ModulesUninstallConfirmForm.php index 58ece4d..9483636 100644 --- a/core/modules/system/lib/Drupal/system/Form/ModulesUninstallConfirmForm.php +++ b/core/modules/system/lib/Drupal/system/Form/ModulesUninstallConfirmForm.php @@ -106,7 +106,7 @@ public function buildForm(array $form, array &$form_state, Request $request = NU $uninstall = array(); $data = system_rebuild_module_data(); - + // Construct the hidden form elements and list items. foreach ($this->modules as $module => $value) { if ($value) { diff --git a/core/modules/system/lib/Drupal/system/Form/ModulesUninstallForm.php b/core/modules/system/lib/Drupal/system/Form/ModulesUninstallForm.php index ae72ff5..1ea1b717 100644 --- a/core/modules/system/lib/Drupal/system/Form/ModulesUninstallForm.php +++ b/core/modules/system/lib/Drupal/system/Form/ModulesUninstallForm.php @@ -18,7 +18,7 @@ * {@inheritdoc} */ class ModulesUninstallForm implements FormInterface, ControllerInterface { - + /** * The key value interface. * diff --git a/core/modules/system/system.admin.inc b/core/modules/system/system.admin.inc index bc8bd37..9422bd2 100644 --- a/core/modules/system/system.admin.inc +++ b/core/modules/system/system.admin.inc @@ -805,58 +805,6 @@ function system_modules_uninstall_confirm_form($storage) { } /** - * Menu callback: displays the site status report. Can also be used as a pure check. - * - * @param $check - * If true, only returns a boolean whether there are system status errors. - */ -function system_status($check = FALSE) { - // Load .install files - include_once DRUPAL_ROOT . '/core/includes/install.inc'; - drupal_load_updates(); - - // Check run-time requirements and status information. - $requirements = module_invoke_all('requirements', 'runtime'); - usort($requirements, '_system_sort_requirements'); - - if ($check) { - return drupal_requirements_severity($requirements) == REQUIREMENT_ERROR; - } - // MySQL import might have set the uid of the anonymous user to autoincrement - // value. Let's try fixing it. See http://drupal.org/node/204411 - db_update('users') - ->expression('uid', 'uid - uid') - ->condition('name', '') - ->condition('pass', '') - ->condition('status', 0) - ->execute(); - return theme('status_report', array('requirements' => $requirements)); -} - -/** - * Menu callback: run cron manually. - */ -function system_run_cron() { - // Run cron manually - if (drupal_cron_run()) { - drupal_set_message(t('Cron ran successfully.')); - } - else { - drupal_set_message(t('Cron run failed.'), 'error'); - } - - drupal_goto('admin/reports/status'); -} - -/** - * Menu callback: return information about PHP. - */ -function system_php() { - phpinfo(); - drupal_exit(); -} - -/** * Default page callback for batches. */ function system_batch_page() {