https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292017-08-11T05:48:36ZRedmineRedmine - Feature #23119: Hook for deleted issueshttps://www.redmine.org/issues/23119?journal_id=805882017-08-11T05:48:36ZShreyas Moolya
<ul></ul><p>These Hooks can then be used to maintain a recycle bin in Redmine.</p> Redmine - Feature #23119: Hook for deleted issueshttps://www.redmine.org/issues/23119?journal_id=806212017-08-14T13:46:52ZHolger Just
<ul></ul><p>You can already use the basic ActiveRecord callbacks on the <code>Issue</code> model, which include <code>before_destroy</code> and <code>after_destroy</code> callbacks. Please check the <a href="http://api.rubyonrails.org/classes/ActiveRecord/Callbacks.html" class="external">Documentation</a> for details on how to use them. You can register your own model callbacks by adding a simple declarative model patch in your plugin.</p>
<p>If you still do need those Redmine hooks, please describe in more detail how they can be useful to solve the problem in a way that the standard ActiveRecord callbacks can not.</p>