Skip to content

Commit 84b8f8f

Browse files
committed
Remove __is_stored flag if the object is removed from the database
1 parent 76b2e26 commit 84b8f8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • lib/Data/ObjectDriver/Driver

lib/Data/ObjectDriver/Driver/DBI.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ sub remove {
565565

566566
$obj->call_trigger('post_remove', $orig_obj);
567567

568-
$orig_obj->{__is_stored} = 1;
568+
delete $orig_obj->{__is_stored};
569569
return $result;
570570
}
571571

0 commit comments

Comments
 (0)