diff --git a/apps/files_sharing/ajax/list.php b/apps/files_sharing/ajax/list.php
index 36deb58a7ac9a3db1c51f5905cb61611e79827d9..82bacb3d38de4a41f141fbf8d62d2992097a757e 100644
--- a/apps/files_sharing/ajax/list.php
+++ b/apps/files_sharing/ajax/list.php
@@ -20,11 +20,6 @@
  *
  */
 
-// only need filesystem apps
-$RUNTIME_APPTYPES=array('filesystem');
-
-// Init owncloud
-
 if(!\OC_App::isEnabled('files_sharing')){
 	exit;
 }