diff --git a/module/VuFind/src/VuFind/Controller/AjaxController.php b/module/VuFind/src/VuFind/Controller/AjaxController.php
index 600b3784f5a974d154f715faed3125f16c21184f..bbf2a2a3d86cc2525f4b0434f702b5657384d59a 100644
--- a/module/VuFind/src/VuFind/Controller/AjaxController.php
+++ b/module/VuFind/src/VuFind/Controller/AjaxController.php
@@ -784,7 +784,6 @@ class AjaxController extends AbstractBase
         );
         $request = $this->getRequest();
         $config = $this->getServiceLocator()->get('Config');
-        $sconfig = $this->getServiceLocator()->get('VuFind\Config')->get('searches');
 
         $recordTabPlugin = $this->getServiceLocator()
             ->get('VuFind\RecordTabPluginManager');