From 34b4572473b4f5ac4fc2001f2092d2190e815344 Mon Sep 17 00:00:00 2001 From: webchick <webchick@24967.no-reply.drupal.org> Date: Thu, 23 Jan 2014 22:15:11 -0800 Subject: [PATCH] Issue #2174535 by alexpott: Remove unused Langauge::extend. --- core/lib/Drupal/Core/Language/Language.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/core/lib/Drupal/Core/Language/Language.php b/core/lib/Drupal/Core/Language/Language.php index f0c36ffae871..54a29cde9b54 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. * -- GitLab