Bug 10933: The PurgeSearchHistory should be merge into the C4::Search::History module
authorJonathan Druart <jonathan.druart@biblibre.com>
Mon, 23 Sep 2013 11:34:19 +0000 (13:34 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 27 Oct 2015 14:03:03 +0000 (11:03 -0300)
commitc4d3002995c147244fffdff24f9ffbea484cfc48
treefa929d8d8fbbdee0d8863909820fbbe2ea71123f
parent458cfc81130f7e4dcade8bbf544aba095d9eb264
Bug 10933: The PurgeSearchHistory should be merge into the C4::Search::History module

Since bug 10803 adds a C4::Search::History module, the
PurgeSearchHistory routine should be moved.

Test plan:
- run misc/cronjobs/cleanup_database.pl with the searchhistory param and
verify behavior is the same as before applying this patch.
- run prove t/Search/History.t

Signed-off-by: Joonas Kylmälä <j.kylmala@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Search.pm
C4/Search/History.pm
misc/cronjobs/cleanup_database.pl
t/db_dependent/Search/History.t
t/db_dependent/Search_SearchHistory.t [deleted file]