https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28416
--- Comment #7 from Tomás Cohen Arazi <[email protected]> --- (In reply to Jonathan Druart from comment #2) > Can be tested with > > use Memory::Usage; > my $mu = Memory::Usage->new(); > $mu->record('Loading'); > require Koha::Libraries; > $mu->record('module loaded'); > print $mu->report(); > > I don't think overall it's a good idea to use require, but maybe it's worth > here? I tried moving the 'require' to the Koha::Library namespace. As we will probably load the Koha::SMTP::Server object only when we want the transport anyway. But it didn't help :-D So signing this patch as it is correct passes the QA tests and does the job. For testers: $ apt install libmemory-usage-perl -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
