From f5fac05624b2a1fcb3242f5d8821354679f04ba4 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Tue, 21 May 2013 09:56:17 -0700 Subject: [PATCH] bug 8215: (followup) don't allow deleting course reserves from OPAC Signed-off-by: Galen Charlton Signed-off-by: Kyle M Hall --- opac/opac-course-details.pl | 5 ----- 1 file changed, 5 deletions(-) diff --git a/opac/opac-course-details.pl b/opac/opac-course-details.pl index df50e4754e..7281652706 100755 --- a/opac/opac-course-details.pl +++ b/opac/opac-course-details.pl @@ -39,15 +39,10 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( } ); -my $action = $cgi->param('action') || ''; my $course_id = $cgi->param('course_id'); die("No course_id given") unless ($course_id); -if ( $action eq 'del_reserve' ) { - DelCourseReserve( cr_id => $cgi->param('cr_id') ); -} - my $course = GetCourse($course_id); my $course_reserves = GetCourseReserves( course_id => $course_id, include_items => 1, include_count => 1 ); -- 2.39.5