Commit 0971ae5f authored by catch's avatar catch
Browse files

Issue #3260766 by andypost: Remove deprecated file.inc and its mentions

parent 664fbf3f
Loading
Loading
Loading
Loading
−218

File deleted.

−1
Changes for core/includes/install.core.inc: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -338,7 +338,6 @@ function install_begin_request($class_loader, &$install_state) {
  // since the error/exception handlers depend on them.
  require_once __DIR__ . '/../modules/system/system.install';
  require_once __DIR__ . '/common.inc';
  require_once __DIR__ . '/file.inc';
  require_once __DIR__ . '/install.inc';
  require_once __DIR__ . '/schema.inc';
  require_once __DIR__ . '/form.inc';
−1
Changes for core/includes/theme.maintenance.inc: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -25,7 +25,6 @@ function _drupal_maintenance_theme() {

  require_once __DIR__ . '/theme.inc';
  require_once __DIR__ . '/common.inc';
  require_once __DIR__ . '/file.inc';
  require_once __DIR__ . '/module.inc';

  // Install and update pages are treated differently to prevent theming overrides.
−1
Changes for core/lib/Drupal/Core/DrupalKernel.php: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -538,7 +538,6 @@ public function loadLegacyIncludes() {
    require_once $this->root . '/core/includes/module.inc';
    require_once $this->root . '/core/includes/theme.inc';
    require_once $this->root . '/core/includes/menu.inc';
    require_once $this->root . '/core/includes/file.inc';
    require_once $this->root . '/core/includes/form.inc';
    require_once $this->root . '/core/includes/errors.inc';
    require_once $this->root . '/core/includes/schema.inc';
+1 −1
Changes for core/lib/Drupal/Core/Form/FormBuilder.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -1171,7 +1171,7 @@ protected function handleInputElement($form_id, &$element, FormStateInterface &$
      $name = array_shift($element['#parents']);
      $element['#name'] = $name;
      if ($element['#type'] == 'file') {
        // To make it easier to handle files in file.inc, we place all
        // To make it easier to handle files, we place all
        // file fields in the 'files' array. Also, we do not support
        // nested file names.
        // @todo Remove this files prefix now?
Loading