projects
/
koha-ffzg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 31378: Rename Auth Provider to Identity Provider and add Client.t tests
[koha-ffzg.git]
/
admin
/
admin-home.pl
diff --git
a/admin/admin-home.pl
b/admin/admin-home.pl
index
f6a7b23
..
6595841
100755
(executable)
--- a/
admin/admin-home.pl
+++ b/
admin/admin-home.pl
@@
-18,13
+18,12
@@
use Modern::Perl;
use CGI qw ( -utf8 );
use Modern::Perl;
use CGI qw ( -utf8 );
-use C4::Auth;
-use C4::Output;
+use C4::Auth
qw( get_template_and_user )
;
+use C4::Output
qw( output_html_with_http_headers )
;
use Koha::Plugins;
use Koha::Plugins;
-my $query =
new CGI
;
+my $query =
CGI->new
;
-my $plugins_enabled = C4::Context->preference('UseKohaPlugins') && C4::Context->config("enable_plugins");
my $mana_url = C4::Context->config('mana_config');
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
my $mana_url = C4::Context->config('mana_config');
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
@@
-32,13
+31,10
@@
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
template_name => "admin/admin-home.tt",
query => $query,
type => "intranet",
template_name => "admin/admin-home.tt",
query => $query,
type => "intranet",
- authnotrequired => 0,
flagsrequired => { parameters => '*' },
flagsrequired => { parameters => '*' },
- debug => 1,
}
);
}
);
-$template->param( plugins_enabled => $plugins_enabled, );
$template->param( mana_url => $mana_url, );
output_html_with_http_headers $query, $cookie, $template->output;
$template->param( mana_url => $mana_url, );
output_html_with_http_headers $query, $cookie, $template->output;