mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
FEATURE: Merge tagging plugin into core
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user