Commit 34b45724 authored by webchick's avatar webchick

Issue #2174535 by alexpott: Remove unused Langauge::extend.

parent 18d43f06
......@@ -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.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment