Bug 29523: Remove no longer required methods
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
743fac1fe0
commit
aa3b7fb50d
2 changed files with 0 additions and 28 deletions
|
@ -896,19 +896,6 @@ sub _get_object_class {
|
|||
return ${type};
|
||||
}
|
||||
|
||||
sub _get_objects_class {
|
||||
my ( $self ) = @_;
|
||||
return unless $self;
|
||||
|
||||
if ( $self->_result->can('koha_objects_class') ) {
|
||||
return $self->_result->koha_objects_class;
|
||||
}
|
||||
my $type = ref($self);
|
||||
|
||||
$type =~ s|Schema::Result::||;
|
||||
return $type . "s";
|
||||
}
|
||||
|
||||
=head3 AUTOLOAD
|
||||
|
||||
The autoload method is used only to get and set values for an objects properties.
|
||||
|
|
|
@ -142,21 +142,6 @@ sub search {
|
|||
return $class->_new_from_dbic($rs);
|
||||
}
|
||||
|
||||
=head3 search_limited
|
||||
|
||||
my $rs = $self->search_limited
|
||||
|
||||
Generic method that is just a pass through for I<search>. It is expected to be overloaded
|
||||
locally on classes. It's main purpose is to avoid the need to check if the class implements
|
||||
the method locally.
|
||||
|
||||
=cut
|
||||
|
||||
sub search_limited {
|
||||
my ( $self, $params, $attributes ) = @_;
|
||||
return $self->search( $params, $attributes );
|
||||
}
|
||||
|
||||
=head3 search_related
|
||||
|
||||
my $objects = Koha::Objects->search_related( $rel_name, $cond?, \%attrs? );
|
||||
|
|
Loading…
Reference in a new issue