X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FContact.pm;h=81b743f8b926e57322b77a9d925c8b61045db450;hb=83a78eea7bb24102f0b255bd350b7dd343e7a8e4;hp=4b6c35e42e3c160b47790aed7cda9b36db491482;hpb=cb2abccdef0236f43a1712cb2b39db4ce57a2d40;p=kivitendo-erp.git diff --git a/SL/DB/Contact.pm b/SL/DB/Contact.pm index 4b6c35e42..81b743f8b 100644 --- a/SL/DB/Contact.pm +++ b/SL/DB/Contact.pm @@ -1,18 +1,15 @@ -# This file has been auto-generated only because it didn't exist. -# Feel free to modify it at will; it will not be overwritten automatically. - package SL::DB::Contact; use strict; use SL::DB::MetaSetup::Contact; +use SL::DB::Manager::Contact; use SL::DB::Helper::CustomVariables ( module => 'Contacts', cvars_alias => 1, ); -# 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 +29,7 @@ sub used { sub detach { $_[0]->cp_cv_id(undef); - $_[0]->save; + $_[0]; } sub full_name {