Skip to content

A platform for community discussion. Free, open, simple.

Hide `lazyYT` plugin from admin plugin page.

Arpit Jalan69693f89f5b6
diff --git a/plugins/lazyYT/plugin.rb b/plugins/lazyYT/plugin.rb
index 44284ecfdbf..1ca0820ac44 100644
--- a/plugins/lazyYT/plugin.rb
+++ b/plugins/lazyYT/plugin.rb
@@ -4,6 +4,8 @@
# authors: Arpit Jalan
# url: https://github.com/discourse/discourse/tree/master/plugins/lazyYT
+hide_plugin if self.respond_to?(:hide_plugin)
+
# javascript
register_asset "javascripts/lazyYT.js"