X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FContact.pm;h=565566a19c57c1369987c92f63ca2e8709d3d674;hb=937e37ad007405c6a3a389ee18006379ffecc073;hp=4b6c35e42e3c160b47790aed7cda9b36db491482;hpb=cb2abccdef0236f43a1712cb2b39db4ce57a2d40;p=kivitendo-erp.git diff --git a/SL/DB/Contact.pm b/SL/DB/Contact.pm index 4b6c35e42..565566a19 100644 --- a/SL/DB/Contact.pm +++ b/SL/DB/Contact.pm @@ -14,6 +14,8 @@ use SL::DB::Helper::CustomVariables ( # Creates get_all, get_all_count, get_all_iterator, delete_all and update_all. __PACKAGE__->meta->make_manager_class; +__PACKAGE__->meta->initialize; + sub used { my ($self) = @_; @@ -32,7 +34,7 @@ sub used { sub detach { $_[0]->cp_cv_id(undef); - $_[0]->save; + $_[0]; } sub full_name {