From f64be46da8e7aa38078141a08390a0f6560605fe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Wed, 14 Nov 2012 16:10:13 +0100 Subject: [PATCH] Includeprobleme bei SL/DB Objekten vermeiden --- SL/DB/CsvImportProfile.pm | 2 +- SL/DB/CsvImportProfileSetting.pm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/SL/DB/CsvImportProfile.pm b/SL/DB/CsvImportProfile.pm index 0b1a00cd1..a0e1fa715 100644 --- a/SL/DB/CsvImportProfile.pm +++ b/SL/DB/CsvImportProfile.pm @@ -4,7 +4,7 @@ use strict; use List::Util qw(first); -use SL::DB::MetaSetup::CsvImportProfile; +require SL::DB::MetaSetup::CsvImportProfile; use Rose::DB::Object::Helpers qw(clone_and_reset); __PACKAGE__->meta->add_relationship( diff --git a/SL/DB/CsvImportProfileSetting.pm b/SL/DB/CsvImportProfileSetting.pm index b1acf2431..b3ba350e3 100644 --- a/SL/DB/CsvImportProfileSetting.pm +++ b/SL/DB/CsvImportProfileSetting.pm @@ -5,10 +5,10 @@ package SL::DB::CsvImportProfileSetting; use strict; -use SL::DB::MetaSetup::CsvImportProfileSetting; use Rose::DB::Object::Helpers qw(clone); -# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all. +require SL::DB::MetaSetup::CsvImportProfileSetting; + __PACKAGE__->meta->make_manager_class; # Helpers' clone_and_reset also kills compund keys like in this case kay+id -- 2.20.1