diff --git a/apps/files/ajax/rawlist.php b/apps/files/ajax/rawlist.php
index b98905541971cc7649783e668b36a23bf2dd8bc3..40da32b223a4cf37259476dafc714f3617db80ef 100644
--- a/apps/files/ajax/rawlist.php
+++ b/apps/files/ajax/rawlist.php
@@ -3,10 +3,6 @@
 // only need filesystem apps
 $RUNTIME_APPTYPES=array('filesystem');
 
-// Init owncloud
-
-require_once 'lib/private/template.php';
-
 OCP\JSON::checkLoggedIn();
 
 // Load the files