Bug 25898: (follow-up) POD

Our docs shouldn't suggest indirect object notation is accepted or
encouraged.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Tomas Cohen Arazi 2020-10-07 14:33:19 -03:00 committed by Jonathan Druart
parent 96cc447045
commit 37540532b1
2 changed files with 3 additions and 3 deletions

View File

@ -93,7 +93,7 @@ C4::Auth - Authenticates Koha users
use C4::Auth;
use C4::Output;
my $query = new CGI;
my $query = CGI->new;
my ($template, $borrowernumber, $cookie)
= get_template_and_user(

View File

@ -211,8 +211,8 @@ sub import {
=head2 new
$context = new C4::Context;
$context = new C4::Context("/path/to/koha-conf.xml");
$context = C4::Context->new;
$context = C4::Context->new("/path/to/koha-conf.xml");
Allocates a new context. Initializes the context from the specified
file, which defaults to either the file given by the C<$KOHA_CONF>