diff --git a/test/cleanup.m b/test/cleanup.m
index b98266b533c8498ccb7d1f9ceb4a5b927d87a6bc..b430653b9d1c9e3c7a22e0b28c806b15f9982044 100644
--- a/test/cleanup.m
+++ b/test/cleanup.m
@@ -18,17 +18,7 @@
 
 %% Clean up CaosDB (remove everything with ID > 99)
 function cleanup()
-  % if nargin < 1
-  %   filenames = {}
-  % end
   c = Caosdb();
   ids = caosdb_get_ids(c.query('FIND ENTITY WITH ID > 99'));
   result = c.delete_by_id(ids);
-
-  %
-  % If FILENAMES is given, it must be a cell string array with filenames to delete.
-  % for filename = filenames
-  %   filename = filename{1};
-  %   fsdelete(filename)          % TODO
-  % end
 end