Bug 20415: Remove UseKohaPlugins system preference
[koha.git] / catalogue / detail.pl
index 89ae268..85782ec 100755 (executable)
@@ -64,8 +64,7 @@ my ( $template, $borrowernumber, $cookie, $flags ) = get_template_and_user(
 );
 
 # Determine if we should be offering any enhancement plugin buttons
-if ( C4::Context->preference('UseKohaPlugins') &&
-     C4::Context->config('enable_plugins') ) {
+if ( C4::Context->config('enable_plugins') ) {
     # Only pass plugins that can offer a toolbar button
     my @plugins = Koha::Plugins->new()->GetPlugins({
         method => 'intranet_catalog_biblio_enhancements_toolbar_button'