Bug 17845: Remove unused code related to printers
authorKatrin Fischer <katrin.fischer@bsz-bw.de>
Sun, 16 Sep 2018 21:25:37 +0000 (23:25 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 10 Mar 2020 15:18:27 +0000 (15:18 +0000)
commit9b86077aaea9b12ba750a04f7054fd4c1ab180aa
tree2c6792bd2facb680f4312d5f4bd8a2121ca45e6b
parentf9efa7a99c3ea1a803b00e53ccb0b8e3020b0edb
Bug 17845: Remove unused code related to printers

There is some quite old and unused code in Koha related
to printer configuration and network printing. These code
hasn't been functional in a long time and should be removed.

This patch:

- Removes printcirculationslips system preference
- Removes table printers
- Removes branchprinter column from branches

Check that:
- Go to administration
- Open any age there, but change the last bit to: printers.pl
- Apply patch, run the database update
- Verify the hidden page no longer exists
- Verify that logging in and out still works correctly
- Verify that checkout and returns work correctly
- Switch to another branch using the "Set library" option

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
17 files changed:
C4/Auth.pm
C4/Context.pm
C4/InstallAuth.pm
C4/Koha.pm
C4/Print.pm [deleted file]
admin/printers.pl [deleted file]
circ/circulation.pl
circ/returns.pl
circ/selectbranchprinter.pl
installer/data/mysql/atomicupdate/bug_17845_remove_printers [new file with mode: 0644]
installer/data/mysql/kohastructure.sql
installer/data/mysql/ru-RU/optional/example_branches.sql
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
koha-tmpl/intranet-tmpl/prog/en/modules/admin/printers.tt [deleted file]
koha-tmpl/intranet-tmpl/prog/en/modules/circ/selectbranchprinter.tt
t/Print.t [deleted file]