CSV-Import-Bericht: beim Löschen nur verwaiste Profile löschen
[kivitendo-erp.git] / SL / DB / MetaSetup / Currency.pm
index c07ef65..2426feb 100644 (file)
@@ -4,7 +4,7 @@ package SL::DB::Currency;
 
 use strict;
 
-use base qw(SL::DB::Object);
+use parent qw(SL::DB::Object);
 
 __PACKAGE__->meta->table('currencies');
 
@@ -17,21 +17,5 @@ __PACKAGE__->meta->primary_key_columns([ 'id' ]);
 
 __PACKAGE__->meta->unique_keys([ 'name' ]);
 
-__PACKAGE__->meta->relationships(
-  ap => {
-    class      => 'SL::DB::PurchaseInvoice',
-    column_map => { id => 'currency_id' },
-    type       => 'one to many',
-  },
-
-  ar => {
-    class      => 'SL::DB::Invoice',
-    column_map => { id => 'currency_id' },
-    type       => 'one to many',
-  },
-);
-
-# __PACKAGE__->meta->initialize;
-
 1;
 ;