From e27f658b559801d161ed9f405f926fbab5bb95e9 Mon Sep 17 00:00:00 2001 From: Guust Nieuwenhuis Date: Wed, 2 May 2012 01:12:14 +0200 Subject: [PATCH] removed some debug code --- controllers/main.cfc | 8 -------- 1 file changed, 8 deletions(-) diff --git a/controllers/main.cfc b/controllers/main.cfc index f77925e..39c67f9 100755 --- a/controllers/main.cfc +++ b/controllers/main.cfc @@ -24,12 +24,6 @@ component { try { local.file = fileUpload(ExpandPath('repository/'), "file", "application/pdf", "MakeUnique", true); - - savecontent variable="local.testDump" { - writeDump(form, 'browser', 'text'); - } - - WriteLog(type="Warning", file="myapp", text="#local.testDump#"); local.response = StructNew(); local.response.type = "status"; @@ -43,7 +37,6 @@ component local.response.message = "Something went wrong... #ex.message#"; local.response.progress = "0%"; WSPublish(rc.channel,local.response); - WriteLog(type="Error", file="myapp", text="[#ex.type#] #ex.message# #ex.detail#"); } } @@ -131,7 +124,6 @@ component local.response.message = "Something went wrong... #ex.message#"; local.response.progress = "0%"; WSSendMessage(serializeJSON(local.response)); - WriteLog(type="Error", file="myapp", text="[#ex.type#] #ex.message# #ex.detail#"); } }