diff --git a/module/VuFind/src/VuFind/Controller/ShibbolethLogoutNotificationController.php b/module/VuFind/src/VuFind/Controller/ShibbolethLogoutNotificationController.php
index ddd874843c374b20253ff4632788a3a48648c9ec..df78a014953e99a0dfdf0dfc5b96b6b98b126129 100644
--- a/module/VuFind/src/VuFind/Controller/ShibbolethLogoutNotificationController.php
+++ b/module/VuFind/src/VuFind/Controller/ShibbolethLogoutNotificationController.php
@@ -73,7 +73,6 @@ class ShibbolethLogoutNotificationController extends AbstractBase
     public function postAction()
     {
         $this->disableSessionWrites();
-        list($uri) = explode('?', $this->getRequest()->getUriString());
         $soapServer = new \Zend\Soap\Server(
             'data://text/plain;base64,' . base64_encode($this->getWsdl())
         );