Skip to content
Snippets Groups Projects
Commit 34b45724 authored by Angie Byron's avatar Angie Byron
Browse files

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

parent 18d43f06
No related branches found
No related tags found
No related merge requests found
......@@ -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.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment