From 7cd6d451d97d1f1e7f3c0f9db2de03735dc8c8f0 Mon Sep 17 00:00:00 2001 From: "Martin Helmling martin.helmling@octosoft.eu" Date: Fri, 14 Jul 2017 15:58:40 +0200 Subject: [PATCH] =?utf8?q?classification=5Ffilter=20ist=20nicht=20mehr=20f?= =?utf8?q?=C3=BCr=20Partpicker=20notwendig?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DB/Manager/PartClassification.pm | 34 ----------------------------- 1 file changed, 34 deletions(-) delete mode 100644 SL/DB/Manager/PartClassification.pm diff --git a/SL/DB/Manager/PartClassification.pm b/SL/DB/Manager/PartClassification.pm deleted file mode 100644 index 9730f4482..000000000 --- a/SL/DB/Manager/PartClassification.pm +++ /dev/null @@ -1,34 +0,0 @@ -package SL::DB::Manager::PartClassification; - -use strict; - -use parent qw(SL::DB::Helper::Manager); -use SL::DB::Helper::Sorted; - -sub object_class { 'SL::DB::PartClassification' } - -__PACKAGE__->make_manager_methods; - -sub classification_filter { - my ($class, $classification, $prefix) = @_; - - return () unless $classification; - - $prefix //= ''; - - my @classifications = grep { $_ } listify($classification); - return ( $prefix . 'classification_id' => \@classifications ); -} - -1; - - -__END__ - -=encoding utf-8 - -=head1 NAME - -SL::DB::Manager::PartClassification - -=cut -- 2.20.1