diff --git a/apps/files_sharing/lib/Controller/ShareesAPIController.php b/apps/files_sharing/lib/Controller/ShareesAPIController.php
index bc63bfc5351f40941341d95a8c29ca89eefbda1d..c74b626b279296fa36f02d1746e530017e91e8f8 100644
--- a/apps/files_sharing/lib/Controller/ShareesAPIController.php
+++ b/apps/files_sharing/lib/Controller/ShareesAPIController.php
@@ -48,7 +48,6 @@ use OCP\IConfig;
 use OCP\IRequest;
 use OCP\IURLGenerator;
 use OCP\Share\IShare;
-use OCP\Share;
 use OCP\Share\IManager;
 use function usort;