From: Martin Helmling martin.helmling@octosoft.eu Date: Fri, 14 Jul 2017 13:58:40 +0000 (+0200) Subject: classification_filter ist nicht mehr für Partpicker notwendig X-Git-Tag: release-3.5.4~1023 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=7cd6d451d97d1f1e7f3c0f9db2de03735dc8c8f0;p=kivitendo-erp.git classification_filter ist nicht mehr für Partpicker notwendig --- 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