From 825f43c42950a94b525a63771a09fe69b4056ad9 Mon Sep 17 00:00:00 2001 From: Bart Kamphorst Date: Wed, 17 Oct 2018 22:24:05 +0200 Subject: [PATCH] Remove debug statements. --- lib/gollum/app.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/gollum/app.rb b/lib/gollum/app.rb index 59fc3da3..f08a1816 100644 --- a/lib/gollum/app.rb +++ b/lib/gollum/app.rb @@ -286,18 +286,14 @@ module Precious post '/delete/*' do - $stderr.puts "[DELETE] DELETE WAS CALLED" forbid unless @allow_editing wiki = wiki_new filepath = params[:splat].first - $stderr.puts "[DELETE] for file #{filepath}" unless filepath.nil? commit = commit_message commit[:message] = "Deleted #{filepath}" - $stderr.puts "[DELETE] About to call wiki.delete_file" wiki.delete_file(filepath, commit) end - $stderr.puts "[DELETE] dunzo" redirect_to('/pages') end