[Koha-bugs] [Bug 24223] Convert OpacNav system preference to news block

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 12 13:32:41 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24223

--- Comment #40 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Skeleton should include a return of a hash like:

return {
    bug_number => "BUG_NUMBER",
    description => "A single line description",
    up => sub {
        my ($args) = @_;
        my ($dbh, $out) = @$args{qw(dbh out)};
        # Do you stuffs here
        $dbh->do(q{});
        # Print useful stuff here
        say $out "Update is going well so far";
    },
}

You do not return a hash, but you start a block with

{

}

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list