Merge branch 'fronkdev' into 'master'
OAIDs can be released now See merge request fronk/thetool!1348
This commit is contained in:
@@ -22,7 +22,7 @@ class ADBWohneinheit extends mfBaseModel {
|
||||
$this->refreshUnitCount();
|
||||
}
|
||||
|
||||
protected function afterSave() {
|
||||
protected function afterSave($_params = []) {
|
||||
if(!$this->id) return true;
|
||||
if(!$this->hausnummer_id) return true;
|
||||
|
||||
@@ -40,8 +40,12 @@ class ADBWohneinheit extends mfBaseModel {
|
||||
}
|
||||
|
||||
$this->logChanges();
|
||||
// Statuschange from Rimo statuschange
|
||||
AddressDB::handleRimoStatusUpdate($this->id);
|
||||
|
||||
if(!array_key_exists("no_updates", $_params) || !$_params['no_updates']) {
|
||||
// Statuschange from Rimo statuschange
|
||||
AddressDB::handleRimoStatusUpdate($this->id);
|
||||
}
|
||||
|
||||
|
||||
$this->refreshUnitCount();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user