updating unit data in citycom import
This commit is contained in:
@@ -169,6 +169,26 @@ class CitycomImporter {
|
||||
\mfValuecache::singleton()->set("adbwohneinheit-save-nesting-level-".$unit->id, 0);
|
||||
}
|
||||
|
||||
if($unit->tuer != $home->door) {
|
||||
$unit->tuer = $home->door;
|
||||
$unit->save();
|
||||
}
|
||||
|
||||
if($unit->block != $home->block) {
|
||||
$unit->block = $home->block;
|
||||
$unit->save();
|
||||
}
|
||||
|
||||
if($unit->stock != $home->floor) {
|
||||
$unit->stock = $home->floor;
|
||||
$unit->save();
|
||||
}
|
||||
|
||||
if($unit->stiege != $home->stairs) {
|
||||
$unit->stiege = $home->stairs;
|
||||
$unit->save();
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user