diff --git a/module/VuFind/src/VuFind/Harvester/NAF.php b/module/VuFind/src/VuFind/Harvester/NAF.php
index 55614ca9a8befdea5cedff9454e1c7596328b076..187e3a4306fb65a8e19195815ec420fcfa005915 100644
--- a/module/VuFind/src/VuFind/Harvester/NAF.php
+++ b/module/VuFind/src/VuFind/Harvester/NAF.php
@@ -139,7 +139,7 @@ class NAF
             throw new \Exception('Problem opening file: ' . $localListFile . ".");
         }
         $id = '';
-        $solr = ConnectionManager::connectToIndex('SolrAuth');
+        $solr = \VuFind\Connection\Manager::connectToIndex('SolrAuth');
         do {
             Console::writeLine("Reading IDs starting with '{$id}'...");
             $list = $solr->getTerms('id', $id, 10000);
diff --git a/module/VuFind/src/VuFind/ILS/Driver/Unicorn.php b/module/VuFind/src/VuFind/ILS/Driver/Unicorn.php
index 63bd84074afb87a327f4e743dd177f4e2e8722d6..dec002adad151be9baaf4646223f70e0c6f8a277 100644
--- a/module/VuFind/src/VuFind/ILS/Driver/Unicorn.php
+++ b/module/VuFind/src/VuFind/ILS/Driver/Unicorn.php
@@ -80,7 +80,7 @@ class Unicorn extends AbstractBase
             $this->search_prog = $this->config['Catalog']['search_prog'];
         }
 
-        $this->db = ConnectionManager::connectToIndex();
+        $this->db = \VuFind\Connection\Manager::connectToIndex();
     }
 
     /**