followup : auto_truncation 3287252c0
[koha.git] / opac / opac-showreviews.pl
index 0b464b8..ac8343a 100755 (executable)
 # Suite 330, Boston, MA  02111-1307 USA
 
 use strict;
-require Exporter;
+use warnings;
+
 use CGI;
 use C4::Auth;
 use C4::Koha;
-use C4::Interface::CGI::Output;
-use C4::Circulation::Circ2;
+use C4::Output;
+use C4::Circulation;
 use C4::Review;
 use C4::Biblio;
 
@@ -43,9 +44,6 @@ my $reviews = getreviews( $biblionumber, 1 );
 $template->param(
     reviews => $reviews,
     title   => $biblio->{'title'},
-    OpacCloud            => C4::Context->preference("OpacCloud"),
-    OpacTopissue         => C4::Context->preference("OpacTopissue"),
-    OpacAuthorities      => C4::Context->preference("OpacAuthorities"),
 );
 
 output_html_with_http_headers $query, $cookie, $template->output;