]> source.dussan.org Git - redmine.git/commitdiff
Do not call _before_save hook without saving.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 9 Jan 2012 18:52:07 +0000 (18:52 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 9 Jan 2012 18:52:07 +0000 (18:52 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8596 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/timelog_controller.rb

index de7654b2ee310b480d8536c3769fa19fb92db8f5..13e147817cb52ea4cc913a4188b934d0f9b2dbd3 100644 (file)
@@ -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 }