From 577e3f22b27d8f53a829185d3d749428a37189c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Sun, 8 Sep 2013 10:43:52 +0200 Subject: [PATCH] remove unused hooks --- apps/files/js/file-upload.js | 3 --- apps/files/js/filelist.js | 20 -------------------- 2 files changed, 23 deletions(-) diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js index d3e644dbda..d1f9a79f21 100644 --- a/apps/files/js/file-upload.js +++ b/apps/files/js/file-upload.js @@ -399,9 +399,6 @@ $(document).ready(function() { var progress = (data.loaded / data.total) * 100; $('#uploadprogressbar').progressbar('value', progress); }); - fileupload.on('fileuploaddone', function(e, data) { - OC.Upload.logStatus('progress handle fileuploaddone', e, data); - }); fileupload.on('fileuploadstop', function(e, data) { OC.Upload.logStatus('progress handle fileuploadstop', e, data); diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 891d45f580..e354366191 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -575,13 +575,6 @@ $(document).ready(function(){ } }); - file_upload_start.on('fileuploadsend', function(e, data) { - OC.Upload.logStatus('filelist handle fileuploadsend', e, data); - return true; - }); - file_upload_start.on('fileuploadstart', function(e, data) { - OC.Upload.logStatus('filelist handle fileuploadstart', e, data); - }); /* * when file upload done successfully add row to filelist * update counter when uploading to sub folder @@ -652,19 +645,6 @@ $(document).ready(function(){ } } }); - - file_upload_start.on('fileuploadalways', function(e, data) { - OC.Upload.logStatus('filelist handle fileuploadalways', e, data); - }); - file_upload_start.on('fileuploadsend', function(e, data) { - OC.Upload.logStatus('filelist handle fileuploadsend', e, data); - }); - file_upload_start.on('fileuploadprogress', function(e, data) { - OC.Upload.logStatus('filelist handle fileuploadprogress', e, data); - }); - file_upload_start.on('fileuploadprogressall', function(e, data) { - OC.Upload.logStatus('filelist handle fileuploadprogressall', e, data); - }); file_upload_start.on('fileuploadstop', function(e, data) { OC.Upload.logStatus('filelist handle fileuploadstop', e, data);