We should remove them, the get is never used, and the set is storing info in userenv that is never read.
Created attachment 122109 [details] [review] Bug 28590: Remove get_shelves_userenv and set_shelves_userenv They are no longer used since bug 7310, now we are using Koha::Virtualshelves->get_some_shelves Test plan: Create some lists, login at the OPAC and confirm that you see the list in the navbar (top)
Looking here now
(In reply to Jonathan Druart from comment #1) > They are no longer used since bug 7310, now we are using > Koha::Virtualshelves->get_some_shelves Hmm. That wasnt yesterday ;)
Created attachment 122222 [details] [review] Bug 28590: Remove get_shelves_userenv and set_shelves_userenv They are no longer used since bug 7310, now we are using Koha::Virtualshelves->get_some_shelves Test plan: Create some lists, login at the OPAC and confirm that you see the list in the navbar (top) Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
QA in one pass
Pushed to master for 21.11, thanks to everybody involved!
Enhancement not backported to 21.05.x