now Caching Preorder load + auto updating attrib inhouse_cabling_supplied
This commit is contained in:
@@ -149,7 +149,11 @@ class AddressDB {
|
||||
$log = mfLoghandler::singleton();
|
||||
$log->debug(__METHOD__.": =============================== in handleRimoStatusUpdate");
|
||||
|
||||
$wohneinheit = new ADBWohneinheit($wohneinheit_id);
|
||||
$wohneinheit = mfValuecache::singleton()->get("mfObjectmodel-adb_wohneinheit-$wohneinheit_id");
|
||||
if(!$wohneinheit) {
|
||||
$wohneinheit = new ADBWohneinheit($wohneinheit_id);
|
||||
if($wohneinheit->id) mfValuecache::singleton()->set("mfObjectmodel-adb_wohneinheit-$wohneinheit_id", $wohneinheit);
|
||||
}
|
||||
if(!$wohneinheit->id) {
|
||||
//echo "no wohneinheit\n";
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user