Bug 23463: Fix CancelReceipt.t
[koha-ffzg.git] / C4 / InstallAuth.pm
index 67319b3..b73794a 100644 (file)
@@ -17,8 +17,7 @@ package C4::InstallAuth;
 # You should have received a copy of the GNU General Public License
 # along with Koha; if not, see <http://www.gnu.org/licenses>.
 
-use strict;
-#use warnings; FIXME - Bug 2505
+use Modern::Perl;
 use Digest::MD5 qw(md5_base64);
 use CGI::Session;
 use File::Spec;
@@ -260,8 +259,7 @@ sub checkauth {
                 $session->param('branch'),
                 $session->param('branchname'),
                 $session->param('flags'),
-                $session->param('emailaddress'),
-                $session->param('branchprinter')
+                $session->param('emailaddress')
             );
             $cookie = $query->cookie(
                 -name     => 'CGISESSID',