Sha256: 509fcd9a4167f78bad629498f51a43ef0838f8fc88df3710a95c5bc3a71cb165

Contents?: true

Size: 353 Bytes

Versions: 1

Compression:

Stored size: 353 Bytes

Contents

# FIXME: the following don't really belong here, but they have to come after
# the reference stuff.  we need to organize a bit!

event :update_rule_cache, :finalize, when: :rule? do
  Card::Rule.clear_rule_cache
end

event :expire_related, :finalize do
  reset_patterns
  structuree_names.each { |name| Director.expirees << name } if is_structure?
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
card-mod-permissions-0.11.4 set/all/update_read_rules.rb