From: Jess Robinson Date: Wed, 4 Jul 2007 13:10:48 +0000 (+0000) Subject: Fixup indenting/code style X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ae66ef475f0d47dff21ad7682c813f643ee5dfa6;p=dbsrgits%2FDBIx-Class-Historic.git Fixup indenting/code style --- diff --git a/lib/DBIx/Class/Row.pm b/lib/DBIx/Class/Row.pm index e5fb4c9..332171a 100644 --- a/lib/DBIx/Class/Row.pm +++ b/lib/DBIx/Class/Row.pm @@ -150,9 +150,7 @@ sub insert { my %related_stuff = (%{$self->{_relationship_data} || {}}, %{$self->{_inflated_column} || {}}); - if(!$self->{_rel_in_storage}) - { - + if(!$self->{_rel_in_storage}) { $source->storage->txn_begin; # The guard will save us if we blow out of this scope via die @@ -208,8 +206,7 @@ sub insert { $self->store_column($auto_pri[$_] => $ids[$_]) for 0 .. $#ids; } - if(!$self->{_rel_in_storage}) - { + if(!$self->{_rel_in_storage}) { ## Now do the has_many rels, that need $selfs ID. foreach my $relname (keys %related_stuff) { my $rel_obj = $related_stuff{$relname};