Unverified Commit 04e5bbbc authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3100071 by ravi.shankar, benjifisher, dww: Several code comments refer...

Issue #3100071 by ravi.shankar, benjifisher, dww: Several code comments refer to \Drupal\Update instead of \Drupal\update
parent aeeb3bcd
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -91,8 +91,8 @@
 * Alter the list of projects to be updated by locale's interface translation.
 *
 * Locale module attempts to update the translation of those modules returned
 * by \Drupal\Update\UpdateManager::getProjects(). Using this hook, the data
 * returned by \Drupal\Update\UpdateManager::getProjects() can be altered or
 * by \Drupal\update\UpdateManager::getProjects(). Using this hook, the data
 * returned by \Drupal\update\UpdateManager::getProjects() can be altered or
 * extended.
 *
 * Modules or distributions that use a dedicated translation server should use
@@ -109,7 +109,7 @@
 * - "%language": Language code. Value examples: "fr", "pt-pt".
 *
 * @param array $projects
 *   Project data as returned by \Drupal\Update\UpdateManager::getProjects().
 *   Project data as returned by \Drupal\update\UpdateManager::getProjects().
 *
 * @see locale_translation_project_list()
 * @ingroup interface_translation_properties
+3 −3
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ interface UpdateFetcherInterface {
   *
   * @param array $project
   *   The array of project information from
   *   \Drupal\Update\UpdateManager::getProjects().
   *   \Drupal\update\UpdateManager::getProjects().
   *
   * @return string
   *   The base of the URL used for fetching available update data. This does
@@ -46,7 +46,7 @@ public function getFetchBaseUrl($project);
   *
   * @param array $project
   *   The array of project information from
   *   \Drupal\Update\UpdateManager::getProjects().
   *   \Drupal\update\UpdateManager::getProjects().
   * @param string $site_key
   *   (optional) The anonymous site key hash. Defaults to an empty string.
   *
@@ -64,7 +64,7 @@ public function fetchProjectData(array $project, $site_key = '');
   *
   * @param array $project
   *   The array of project information from
   *   \Drupal\Update\UpdateManager::getProjects().
   *   \Drupal\update\UpdateManager::getProjects().
   * @param string $site_key
   *   (optional) The anonymous site key hash. Defaults to an empty string.
   *
+1 −1
Original line number Diff line number Diff line
@@ -119,7 +119,7 @@ public function refreshUpdateData() {
    // of both the projects we care about, and the current update status of the
    // site. We do *not* want to clear the cache of available releases just yet,
    // since that data (even if it's stale) can be useful during
    // \Drupal\Update\UpdateManager::getProjects(); for example, to modules
    // \Drupal\update\UpdateManager::getProjects(); for example, to modules
    // that implement hook_system_info_alter() such as cvs_deploy.
    $this->keyValueStore->delete('update_project_projects');
    $this->keyValueStore->delete('update_project_data');
+1 −1
Original line number Diff line number Diff line
@@ -118,7 +118,7 @@ public function refreshUpdateData();
   * @return array
   *   The stored value of the $projects array generated by
   *   update_calculate_project_data() or
   *   \Drupal\Update\UpdateManager::getProjects(), or an empty array when the
   *   \Drupal\update\UpdateManager::getProjects(), or an empty array when the
   *   storage is cleared.
   *   array when the storage is cleared.
   */
+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ public function fetchData();
   *
   * @param array $project
   *   Associative array of information about a project as created by
   *   \Drupal\Update\UpdateManager::getProjects(), including keys such as
   *   \Drupal\update\UpdateManager::getProjects(), including keys such as
   *   'name' (short name), and the 'info' array with data from a .info.yml
   *   file for the project.
   *
Loading