mirror of
https://github.com/discourse/discourse.git
synced 2025-09-05 08:59:27 +08:00
FEATURE: Merge tagging plugin into core
This commit is contained in:
parent
7151c16c79
commit
e5918c7d00
93 changed files with 2484 additions and 20 deletions
|
@ -30,6 +30,10 @@ class Plugin::Instance
|
|||
[].tap { |plugins|
|
||||
# also follows symlinks - http://stackoverflow.com/q/357754
|
||||
Dir["#{parent_path}/**/*/**/plugin.rb"].sort.each do |path|
|
||||
|
||||
# tagging is included in core, so don't load it
|
||||
next if path =~ /discourse-tagging/
|
||||
|
||||
source = File.read(path)
|
||||
metadata = Plugin::Metadata.parse(source)
|
||||
plugins << self.new(metadata, path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue