X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FRow.pm;h=7ccebb41e1ca85aadadb821e5364cee8de3a0390;hb=1b822bd3e15476666e97d9a95754f123410b3c56;hp=1097701c41aa5bbf533abd0c5aa5541f0cdf896e;hpb=4c90556806f286093d0806e858abdba329e6dfd3;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/Row.pm b/lib/DBIx/Class/Row.pm index 1097701..7ccebb4 100644 --- a/lib/DBIx/Class/Row.pm +++ b/lib/DBIx/Class/Row.pm @@ -1359,7 +1359,7 @@ Alias for L =cut -sub insert_or_update { +sub insert_or_update :DBIC_method_is_indirect_sugar { DBIx::Class::_ENV_::ASSERT_NO_INTERNAL_INDIRECT_CALLS and fail_on_internal_call; shift->update_or_insert(@_); } @@ -1429,7 +1429,7 @@ Accessor to the L this object was created from. =cut -sub result_source { +sub result_source :DBIC_method_is_indirect_sugar { # While getter calls are routed through here for sensible exception text # it makes no sense to have setters do the same thing DBIx::Class::_ENV_::ASSERT_NO_INTERNAL_INDIRECT_CALLS