mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-09-26 11:19:16 +02:00
GroupMembershipResolver: support calls from onStore
This commit is contained in:
parent
8bc26ccb97
commit
9adeb65f0c
@ -124,7 +124,9 @@ abstract class GroupMembershipResolver
|
||||
*/
|
||||
public function addObject(IcingaObject $object)
|
||||
{
|
||||
if (! $object->hasBeenLoadedFromDb()) {
|
||||
// Hint: cannot use hasBeenLoadedFromDB, as it is false in onStore()
|
||||
// for new objects
|
||||
if (! $id = $object->get('id')) {
|
||||
return $this;
|
||||
}
|
||||
// Disabling for now, how should this work?
|
||||
|
Loading…
x
Reference in New Issue
Block a user