[Yaml] Remove legacy code

This commit is contained in:
Ener-Getick 2016-08-31 15:10:08 +02:00
parent bcb1d8fd0c
commit a88dff3981
No known key found for this signature in database
GPG Key ID: 9E5D2DB67BF054DD
1 changed files with 0 additions and 11 deletions

View File

@ -259,17 +259,6 @@ class Parser
throw $e;
}
if (is_array($value)) {
$first = reset($value);
if (is_string($first) && 0 === strpos($first, '*')) {
$data = array();
foreach ($value as $alias) {
$data[] = $this->refs[substr($alias, 1)];
}
$value = $data;
}
}
if (isset($mbEncoding)) {
mb_internal_encoding($mbEncoding);
}