\Drupal\Core\Updater\Updater::makeBackup should probably be removed, and the code path that calls it is broken

Created on 20 April 2015, about 10 years ago
Updated 30 January 2023, over 2 years ago

Problem/Motivation

Currently the code looks like this

/**
   * Performs a backup.
   *
   * @param \Drupal\Core\FileTransfer\FileTransfer $filetransfer
   *   Object which is a child of FileTransfer.
   * @param string $from
   *   The file path to copy from.
   * @param string $to
   *   The file path to copy to.
   *
   * @todo Not implemented.
   */
  public function makeBackup(FileTransfer $filetransfer, $from, $to) {
  }

Added in #538660: Move update manager upgrade process into new authorize.php file (and make it actually work) β†’ .

Proposed resolution

Remove the method and associated code

or

No tests are breaking, yet this method is called, meaning, we need to write tests and also actually implement this.

Remaining tasks

  • Decide on removal or implementation

User interface changes

API changes

πŸ› Bug report
Status

Needs work

Version

9.5

Component
UpdateΒ  β†’

Last updated 3 days ago

  • Maintained by
  • πŸ‡ΊπŸ‡ΈUnited States @tedbow
  • πŸ‡ΊπŸ‡ΈUnited States @dww
Created by

πŸ‡©πŸ‡°Denmark googletorp

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024