use SL::Locale;
 
-  my $locale = new Locale($::lx_office_conf{system}->{language}, "installationcheck");
+  my $locale = Locale->new($::lx_office_conf{system}->{language}, "installationcheck");
 
   print(qq|content-type: text/html
 
 </html>
 |);
 
-  ::end_of_request();
+  $::dispatcher->end_request;
 }
 
 1;