diff --git a/module/VuFind/src/VuFind/Controller/QRCodeController.php b/module/VuFind/src/VuFind/Controller/QRCodeController.php
index ba6e7055c3b6cfb37e8cfc9507cd45c37eac8f31..1064045555d8b68a7e219a6c7751a31e31256a7c 100644
--- a/module/VuFind/src/VuFind/Controller/QRCodeController.php
+++ b/module/VuFind/src/VuFind/Controller/QRCodeController.php
@@ -59,9 +59,7 @@ class QRCodeController extends AbstractBase
         if (!$this->loader) {
             $this->loader = new Loader(
                 $this->getConfig(),
-                $this->getServiceLocator()->get('VuFindTheme\ThemeInfo'),
-                $this->getServiceLocator()->get('VuFind\Http')->createClient(),
-                $this->getServiceLocator()->get('VuFind\CacheManager')->getCacheDir()
+                $this->getServiceLocator()->get('VuFindTheme\ThemeInfo')
             );
             \VuFind\ServiceManager\Initializer::initInstance(
                 $this->loader, $this->getServiceLocator()
diff --git a/module/VuFind/src/VuFind/QRCode/Loader.php b/module/VuFind/src/VuFind/QRCode/Loader.php
index 9c87de894e184e9e8222b8e18372d9fc140e298a..2bf41a2c275bc110d6b907cf8e6efe00a2c7e592 100644
--- a/module/VuFind/src/VuFind/QRCode/Loader.php
+++ b/module/VuFind/src/VuFind/QRCode/Loader.php
@@ -43,7 +43,6 @@ use \PHPQRCode, Zend\Log\LoggerInterface;
  */
 class Loader implements \Zend\Log\LoggerAwareInterface
 {
-
     /**
      * property to hold VuFind configuration settings
      *
@@ -51,13 +50,6 @@ class Loader implements \Zend\Log\LoggerAwareInterface
      */
     protected $config;
 
-    /**
-     * HTTP client
-     *
-     * @var \Zend\Http\Client
-     */
-    protected $client;
-
     /**
      * Property for storing raw qrcode data; may be null if image is unavailable
      *
@@ -107,14 +99,10 @@ class Loader implements \Zend\Log\LoggerAwareInterface
      *
      * @param \Zend\Config\Config    $config VuFind configuration
      * @param \VuFindTheme\ThemeInfo $theme  VuFind theme tools
-     * @param \Zend\Http\Client      $client HTTP client
      */
-    public function __construct($config, \VuFindTheme\ThemeInfo $theme,
-        \Zend\Http\Client $client
-    ) {
+    public function __construct($config, \VuFindTheme\ThemeInfo $theme) {
         $this->config = $config;
         $this->themeTools = $theme;
-        $this->client = $client;
     }
 
     /**