http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14167

--- Comment #6 from Kyle M Hall <[email protected]> ---
> > ::: Koha/Logger.pm
> > @@ +58,5 @@
> > > +    my ( $class, $category ) = @_;
> > > +
> > > +    croak("No category passed in!") unless $category;
> > > +
> > > +    my $interface = C4::Context->interface();
> > 
> > What if it isn't set?

I think I missed your meaning. That's a very good question. By default if the
interface isn't 'staff' it's 'opac'. I think maybe we should be able to pass in
an interface parameter as well so we can set the interface to 'cli' or 'cron'
or other such things.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to