diff options
-rw-r--r-- | extensions/Push/Extension.pm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/extensions/Push/Extension.pm b/extensions/Push/Extension.pm index 822d8da6d..ff7f21295 100644 --- a/extensions/Push/Extension.pm +++ b/extensions/Push/Extension.pm @@ -326,7 +326,8 @@ sub object_end_of_create { # possible; don't process them here to avoid duplicate messages my $object = _get_object_from_args($args); return if !$object || - $object->isa('Bugzilla::Bug'); + $object->isa('Bugzilla::Bug') || + blessed($object) =~ /^Bugzilla::Extension/; $self->_object_created($args); } @@ -344,7 +345,9 @@ sub object_end_of_update { # it's better to process objects from a non-generic end_of_update where # possible; don't process them here to avoid duplicate messages - return if $object->isa('Bugzilla::Bug') || $object->isa('Bugzilla::Flag'); + return if $object->isa('Bugzilla::Bug') || + $object->isa('Bugzilla::Flag') || + blessed($object) =~ /^Bugzilla::Extension/; $self->_object_modified($args); } |