Remove msg.

This commit is contained in:
bootstraponline
2012-07-21 16:57:20 -06:00
parent 3255709399
commit 8eaf7fc497
+1 -2
View File
@@ -125,8 +125,7 @@ module Precious
wiki = Gollum::Wiki.new(settings.gollum_path, wiki_options) wiki = Gollum::Wiki.new(settings.gollum_path, wiki_options)
page = wiki.page(CGI.unescape(params[:page])) page = wiki.page(CGI.unescape(params[:page]))
name = params[:rename] || page.name name = params[:rename] || page.name
msg = commit_message committer = Gollum::Committer.new(wiki, commit_message)
committer = Gollum::Committer.new(wiki, msg)
commit = {:committer => committer} commit = {:committer => committer}
update_wiki_page(wiki, page, params[:content], commit, name, params[:format]) update_wiki_page(wiki, page, params[:content], commit, name, params[:format])