From 1e39c55ca7e3a938c8390a58b7c51ce2b03e8ce0 Mon Sep 17 00:00:00 2001 From: "karel.picman@lbcfree.net" Date: Thu, 11 Jun 2020 08:54:50 +0200 Subject: [PATCH] #1127 New document's content --- app/controllers/dmsf_files_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/dmsf_files_controller.rb b/app/controllers/dmsf_files_controller.rb index ef02266a..a988bc09 100644 --- a/app/controllers/dmsf_files_controller.rb +++ b/app/controllers/dmsf_files_controller.rb @@ -174,6 +174,7 @@ class DmsfFilesController < ApplicationController end if @file.save @file.set_last_revision revision + Redmine::Hook.call_hook :dmsf_helper_upload_after_commit, { file: @file } flash[:notice] = (flash[:notice].nil? ? '' : flash[:notice]) + l(:notice_file_revision_created) begin recipients = DmsfMailer.deliver_files_updated(@project, [@file])