Bugzilla – Attachment 156720 Details for
Bug 25672
Administrators should be able to restrict client-side plugin upload to trusted sources
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25672: (QA follow-up): tidy up code
Bug-25672-QA-follow-up-tidy-up-code.patch (text/plain), 1.23 KB, created by
Victor Grousset/tuxayo
on 2023-10-09 01:55:56 UTC
(
hide
)
Description:
Bug 25672: (QA follow-up): tidy up code
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2023-10-09 01:55:56 UTC
Size:
1.23 KB
patch
obsolete
>From 88758f4101287464b5b1e7b50c8b44e49551f36e Mon Sep 17 00:00:00 2001 >From: Victor Grousset/tuxayo <victor@tuxayo.net> >Date: Mon, 9 Oct 2023 03:54:00 +0200 >Subject: [PATCH] Bug 25672: (QA follow-up): tidy up code > >--- > plugins/plugins-home.pl | 2 +- > plugins/plugins-uninstall.pl | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/plugins/plugins-home.pl b/plugins/plugins-home.pl >index 95dd79231a..08d005f1cf 100755 >--- a/plugins/plugins-home.pl >+++ b/plugins/plugins-home.pl >@@ -58,7 +58,7 @@ if ($plugins_enabled) { > } > ); > >- $template->param( plugins => \@plugins, ); >+ $template->param( plugins => \@plugins, ); > $template->param( plugins_restricted => C4::Context->config('plugins_restricted') ); > > $template->param( can_search => C4::Context->config('plugin_repos') ? 1 : 0 ); >diff --git a/plugins/plugins-uninstall.pl b/plugins/plugins-uninstall.pl >index c797af16c3..76385647b8 100755 >--- a/plugins/plugins-uninstall.pl >+++ b/plugins/plugins-uninstall.pl >@@ -40,7 +40,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( > > my $class = $input->param('class'); > >-if ( $class ) { >+if ($class) { > Koha::Plugins::Handler->delete( { class => $class } ); > } > >-- >2.42.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 25672
:
106651
|
106671
|
106673
|
106674
|
107172
|
107173
|
107174
|
153824
|
153825
|
153826
|
153827
|
153925
|
154423
|
154424
|
154425
|
154426
|
154427
|
154453
|
154455
|
154464
|
154465
|
154466
|
154467
|
154468
|
154474
|
154475
|
154476
|
154477
|
154478
|
156715
|
156716
|
156717
|
156718
|
156719
|
156720
|
156734
|
156735
|
156736
|
156737
|
156738
|
156739
|
156740
|
157730
|
157810
|
157811
|
157812
|
157813
|
157814
|
157815
|
157816
|
157817
|
157836
|
157837
|
157838
|
157839
|
157840
|
157841
|
157842
|
157843
|
157846
|
157847
|
157848
|
157849
|
157850
|
157851
|
157852
|
157853