https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16306 --- Comment #5 from M. Tompsett <mtompset@hotmail.com> --- Comment on attachment 50501 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=50501 Bug 16306 - C4::Context->setCommandlineEnvironment() convenience function Review of attachment 50501: --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=16306&attachment=50501) ----------------------------------------------------------------- ::: C4/Context.pm @@ +1309,5 @@
+ C4::Context::set_userenv($clisu->{borrowernumber},$clisu->{userid},$clisu->{cardnumber},$clisu->{firstname},$clisu->{surname}, $clisu->{branchcode}, '', {}, '', '', ''); +} + +sub _enforceCommandlineSuperuserBorrowerExists { + my $commandlineSuperuser = C4::Members::GetMember(userid => 'commandlineadmin');
I believe this GetMember function was removed. -- You are receiving this mail because: You are watching all bug changes.