From 117c21f4e46df44573978719cfefe87a786012f7 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 files changed, 0 insertions(+), 5 deletions(-) diff --git a/opac/opac-course-details.pl b/opac/opac-course-details.pl index df50e47..7281652 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 ); -- 1.7.2.5