diff --git a/core/lib/Drupal/Core/Language/Language.php b/core/lib/Drupal/Core/Language/Language.php
index f0c36ffae871eb3720064c899b80380cdc8700be..54a29cde9b54b00b17871237110a272fd7044cfa 100644
--- a/core/lib/Drupal/Core/Language/Language.php
+++ b/core/lib/Drupal/Core/Language/Language.php
@@ -203,18 +203,6 @@ public function __construct(array $options = array()) {
     }
   }
 
-  /**
-   * Extend $this with properties from the given object.
-   *
-   * @todo Remove this function once $GLOBALS['language'] is gone.
-   */
-  public function extend($obj) {
-    $variables = get_object_vars($obj);
-    foreach ($variables as $variable => $value) {
-      $this->$variable = $value;
-    }
-  }
-
   /**
    * Sort language objects.
    *