From 2137bbe330c52a2bc5152537c4bea3f758b6bd95 Mon Sep 17 00:00:00 2001
From: Georg Ehrke <georg@ownCloud.com>
Date: Sat, 9 Feb 2013 12:38:40 +0100
Subject: [PATCH] remove code properly

---
 apps/files/js/filelist.js | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 5ee55256ea..4a66b33694 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -216,9 +216,6 @@ var FileList={
 	},
 	replace:function(oldName, newName, isNewFile) {
 		// Finish any existing actions
-		/*if (FileList.lastAction || !FileList.useUndo) {
-			FileList.lastAction();
-		}*/
 		$('tr').filterAttr('data-file', oldName).hide();
 		$('tr').filterAttr('data-file', newName).hide();
 		var tr = $('tr').filterAttr('data-file', oldName).clone();
-- 
GitLab