Issue #2174535 by alexpott: Remove unused Langauge::extend.
parent
18d43f0635
commit
34b4572473
|
@ -203,18 +203,6 @@ class Language {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue