diff --git a/core/includes/update.inc b/core/includes/update.inc
index a9b5de9..8030524 100644
--- a/core/includes/update.inc
+++ b/core/includes/update.inc
@@ -7,7 +7,6 @@
  * This file contains functions to perform database updates for a Drupal
  * installation. It is included and used extensively by update.php.
  */
-
 use Drupal\Component\Graph\Graph;
 use Drupal\Core\Utility\Error;
 
@@ -52,10 +51,7 @@ function update_check_incompatibility($name, $type = 'module') {
   elseif ($type == 'theme' && isset($themes[$name])) {
     $file = $themes[$name];
   }
-  if (!isset($file)
-      || !isset($file->info['core'])
-      || $file->info['core'] != \Drupal::CORE_COMPATIBILITY
-      || version_compare(phpversion(), $file->info['php']) < 0) {
+  if (!isset($file) || !isset($file->info['core']) || $file->info['core'] != \Drupal::CORE_COMPATIBILITY || version_compare(phpversion(), $file->info['php']) < 0) {
     return TRUE;
   }
   return FALSE;
@@ -675,7 +671,7 @@ function update_replace_permissions($replace) {
   foreach ($role_names as $role_name) {
     $rid = substr($role_name, $cut);
     $config = \Drupal::config("user.role.$rid");
-    $permissions = $config->get('permissions') ?: array();
+    $permissions = $config->get('permissions') ? : array();
     foreach ($replace as $old_permission => $new_permissions) {
       if (($index = array_search($old_permission, $permissions)) !== FALSE) {
         unset($permissions[$index]);
@@ -683,82 +679,7 @@ function update_replace_permissions($replace) {
       }
     }
     $config
-      ->set('permissions', $permissions)
-      ->save();
-  }
-}
-
-/**
- * Returns a list of languages set up on the site during upgrades.
- *
- * @param $flags
- *   (optional) Specifies the state of the languages that have to be returned.
- *   It can be: LanguageInterface::STATE_CONFIGURABLE,
- *   LanguageInterface::STATE_LOCKED, or LanguageInterface::STATE_ALL.
- *
- * @return \Drupal\Core\Language\LanguageInterface[]
- *   An associative array of languages, keyed by the language code, ordered by
- *   weight ascending and name ascending.
- */
-function update_language_list($flags = LanguageInterface::STATE_CONFIGURABLE) {
-
-  $languages = &drupal_static(__FUNCTION__);
-
-  // Initialize master language list.
-  if (!isset($languages)) {
-    // Initialize local language list cache.
-    $languages = array();
-
-    // Fill in master language list based on current configuration.
-    $default = \Drupal::languageManager()->getDefaultLanguage();
-    if (\Drupal::languageManager()->isMultilingual() || \Drupal::moduleHandler()->moduleExists('language')) {
-      // Use language module configuration if available. We can not use
-      // entity_load_multiple() because this breaks during updates.
-      $language_entities = \Drupal::configFactory()->listAll('language.entity.');
-
-      // Initialize default property so callers have an easy reference and can
-      // save the same object without data loss.
-      foreach ($language_entities as $langcode_config_name) {
-        $langcode = substr($langcode_config_name, strlen('language.entity.'));
-        $info = \Drupal::config($langcode_config_name)->get();
-        $languages[$langcode] = new Language(array(
-          'default' => ($info['id'] == $default->getId()),
-          'name' => $info['label'],
-          'id' => $info['id'],
-          'direction' => $info['direction'],
-          'locked' => $info['locked'],
-          'weight' => $info['weight'],
-        ));
-      }
-      Language::sort($languages);
-    }
-    else {
-      // No language module, so use the default language only.
-      $languages = array($default->getId() => $default);
-      // Add the special languages, they will be filtered later if needed.
-      $languages += \Drupal::languageManager()->getDefaultLockedLanguages($default->getWeight());
-    }
+        ->set('permissions', $permissions)
+        ->save();
   }
-
-  // Filter the full list of languages based on the value of the $all flag. By
-  // default we remove the locked languages, but the caller may request for
-  // those languages to be added as well.
-  $filtered_languages = array();
-
-  // Add the site's default language if flagged as allowed value.
-  if ($flags & LanguageInterface::STATE_SITE_DEFAULT) {
-    $default = \Drupal::languageManager()->getDefaultLanguage();
-    // Rename the default language.
-    $default->setName(t("Site's default language (@lang_name)", array('@lang_name' => $default->getName())));
-    $filtered_languages[LanguageInterface::LANGCODE_SITE_DEFAULT] = $default;
-  }
-
-  foreach ($languages as $langcode => $language) {
-    if (($language->isLocked() && !($flags & LanguageInterface::STATE_LOCKED)) || (!$language->isLocked() && !($flags & LanguageInterface::STATE_CONFIGURABLE))) {
-      continue;
-    }
-    $filtered_languages[$langcode] = $language;
-  }
-
-  return $filtered_languages;
 }
