diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-01-09 18:52:07 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-01-09 18:52:07 +0000 |
commit | c131a38d7c0dcea90ed70d11ae127b5a4f8aecba (patch) | |
tree | 1539e3934de1580e67d61bccbe8efb12e7f21919 /app/controllers/timelog_controller.rb | |
parent | 919e686e93ecf1fbf4afd0ad32398fd95b368876 (diff) | |
download | redmine-c131a38d7c0dcea90ed70d11ae127b5a4f8aecba.tar.gz redmine-c131a38d7c0dcea90ed70d11ae127b5a4f8aecba.zip |
Do not call _before_save hook without saving.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8596 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/timelog_controller.rb')
-rw-r--r-- | app/controllers/timelog_controller.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/app/controllers/timelog_controller.rb b/app/controllers/timelog_controller.rb index de7654b2e..13e147817 100644 --- a/app/controllers/timelog_controller.rb +++ b/app/controllers/timelog_controller.rb @@ -143,8 +143,6 @@ class TimelogController < ApplicationController def edit @time_entry.attributes = params[:time_entry] - - call_hook(:controller_timelog_edit_before_save, { :params => params, :time_entry => @time_entry }) end verify :method => :put, :only => :update, :render => {:nothing => true, :status => :method_not_allowed } |