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

(-)a/C4/Calendar.pm (-1 / +5 lines)
Lines 603-608 sub delete_holiday_range_repeatable { Link Here
603
    my $dbh = C4::Context->dbh();
603
    my $dbh = C4::Context->dbh();
604
    my $sth = $dbh->prepare("DELETE FROM repeatable_holidays WHERE (branchcode = ?) AND (day = ?) AND (month = ?)");
604
    my $sth = $dbh->prepare("DELETE FROM repeatable_holidays WHERE (branchcode = ?) AND (day = ?) AND (month = ?)");
605
    $sth->execute($self->{branchcode}, $options{day}, $options{month});
605
    $sth->execute($self->{branchcode}, $options{day}, $options{month});
606
607
    # changed the 'single_holidays' table, lets force/reset its cache
608
    my $cache = Koha::Caches->get_instance();
609
    my $key   = $self->{branchcode} . "_holidays";
610
    $cache->clear_from_cache($key);
606
}
611
}
607
612
608
=head2 delete_exception_holiday_range
613
=head2 delete_exception_holiday_range
609
- 

Return to bug 32048