A fractal of bad design

This commit is contained in:
markseu 2020-12-09 17:24:01 +01:00
parent f0dbb49c5f
commit 2faf185e2a

View file

@ -706,7 +706,7 @@ class YellowUpdate {
$fileNameCurrent = $this->yellow->system->get("coreExtensionDirectory").$this->yellow->system->get("updateCurrentFile");
$fileData = $this->yellow->toolbox->readFile($fileNameCurrent);
$settings = $this->yellow->toolbox->getTextSettings($fileData, "extension");
foreach ($settings as $key=>$value) {
foreach ($settings->getArrayCopy() as $key=>$value) {
if (!$this->yellow->extension->isExisting($key)) unset($settings[$key]);
}
foreach ($this->yellow->extension->data as $key=>$value) {