Skip to content

Commit

Permalink
Add mandatory plugin installation methods.
Browse files Browse the repository at this point in the history
Fixed #35.
  • Loading branch information
EreMaijala committed Jun 20, 2024
1 parent 5f0cfb9 commit be2435a
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Koha/Plugin/Fi/KohaSuomi/DI.pm
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,27 @@ sub api_namespace {
return 'kohasuomi';
}

# Mandatory even if does nothing
sub install {
my ( $self, $args ) = @_;

return 1;
}

# Mandatory even if does nothing
sub upgrade {
my ( $self, $args ) = @_;

return 1;
}

# Mandatory even if does nothing
sub uninstall {
my ( $self, $args ) = @_;

return 1;
}

sub _convert_refs_to_absolute {
my ( $self, $hashref, $path_prefix ) = @_;

Expand Down

0 comments on commit be2435a

Please sign in to comment.