[Koha-bugs] [Bug 17631] Koha::Biblio - Remove GetHolds

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 18 14:58:09 CET 2016


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

--- Comment #4 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Josef Moravec from comment #3)
> As I read through this patch, I have an idea - maybe silly idea ;)
> 
> But, does it make sense to you to have some method like
> Koha::Biblio->can_be_deleted?
> 
> Probably useful on other places like catalogue/detail for example.

Yes and no, the can_be_deleted method will only check the permission of a user,
I think we should only have only 1 method for this kind of simple permissions.
But have a look at Koha::Virtualshelf and search for "sub can*".

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


More information about the Koha-bugs mailing list