Generalize the plugin mechanism with a Plugin module that knows when it's included.
[mailshears.git] / src / plugins / dovecot_mailstore.rb
index ee12da905412a207f9e092b60507382fb84ab16d..7706570b2e5005a1babd77bfffddac5e89bd988c 100644 (file)
@@ -1,9 +1,12 @@
 require 'src/errors'
 require 'src/filesystem'
 require 'src/mailstore'
+require 'src/plugin'
 
 class DovecotMailstore < Mailstore
 
+  include Plugin
+  
   def initialize
     @domain_root = Configuration::MAIL_ROOT
   end