Skip to content
Permalink
Browse files

Merge branch 'release/0.8.2'

  • Loading branch information...
haru committed Nov 7, 2018
2 parents 38c66a8 + 71d7d8c commit 406ba50c7bb028a845c91b6d967730590d83891e
Showing with 4 additions and 4 deletions.
  1. +3 −3 app/models/wiki_extensions_tag_relation.rb
  2. +1 −1 init.rb
@@ -22,10 +22,10 @@ class WikiExtensionsTagRelation < ActiveRecord::Base
validates_uniqueness_of :tag_id, :scope => :wiki_page_id

def destroy
target_tag_id = tag_id
super
ret = super
target_tag = WikiExtensionsTag.find(tag_id) if tag_id
target_tag.destroy if target_tag.page_count == 0
target_tag.destroy if target_tag.page_count.zero?
ret
end

end
@@ -65,7 +65,7 @@
author_url 'http://twitter.com/haru_iida'
description 'This is a Wiki Extensions plugin for Redmine'
url "http://www.r-labs.org/projects/r-labs/wiki/Wiki_Extensions_en"
version '0.8.1'
version '0.8.2'
requires_redmine :version_or_higher => '3.4.0'

project_module :wiki_extensions do

0 comments on commit 406ba50

Please sign in to comment.
You can’t perform that action at this time.