From 719696e44520cdb0c39844a93672bfef7faa0b6c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Mon, 1 Nov 2010 11:56:14 +0100 Subject: [PATCH] Inventory: alias parts -> part Rose legt den parts accessor automatisch an, weil die Datenbankspalte parts_id heisst, part ist aber sinnvoller. --- SL/DB/Inventory.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/SL/DB/Inventory.pm b/SL/DB/Inventory.pm index 98d505d70..42238dd15 100644 --- a/SL/DB/Inventory.pm +++ b/SL/DB/Inventory.pm @@ -10,4 +10,9 @@ use SL::DB::MetaSetup::Inventory; # Creates get_all, get_all_count, get_all_iterator, delete_all and update_all. __PACKAGE__->meta->make_manager_class; +# part accessor is badly named +sub part { + goto &parts; +} + 1; -- 2.20.1