View | Details | Raw Unified | Return to bug 10933
Collapse All | Expand All

(-)a/C4/Search/History.pm (-2 / +2 lines)
Lines 73-80 sub delete { Link Here
73
        $id = $id ? [ $id ] : [];
73
        $id = $id ? [ $id ] : [];
74
    }
74
    }
75
75
76
    unless ( $userid or @$id ) {
76
    unless ( $userid or @$id or $interval ) {
77
        warn "ERROR: userid or id is required for history deletion";
77
        warn "ERROR: userid, id or interval is required for history deletion";
78
        return;
78
        return;
79
    }
79
    }
80
80
(-)a/misc/cronjobs/cleanup_database.pl (-1 / +1 lines)
Lines 37-42 BEGIN { Link Here
37
use C4::Context;
37
use C4::Context;
38
use C4::Dates;
38
use C4::Dates;
39
use C4::Search;
39
use C4::Search;
40
use C4::Search::History;
40
use Getopt::Long;
41
use Getopt::Long;
41
use C4::Log;
42
use C4::Log;
42
43
43
- 

Return to bug 10933