]> gitweb.michael.orlitzky.com - mailshears.git/blobdiff - lib/mv/plugins/dovecot.rb
Remove a superclass from DovecotMv that no longer exists.
[mailshears.git] / lib / mv / plugins / dovecot.rb
index 0eb688861442aba8e07e8cad640a92ce7ec30abc..b1dc598b013b6207d685c296b87ec64aff051d65 100644 (file)
@@ -1,9 +1,8 @@
 require 'common/filesystem'
-require 'common/mailstore'
 require 'common/dovecot_plugin'
 require 'mv/mv_plugin'
 
-class DovecotMv < Mailstore
+class DovecotMv
 
   include DovecotPlugin
   include MvPlugin
@@ -15,9 +14,9 @@ class DovecotMv < Mailstore
     FileUtils.mv(from_path, to_path)
   end
 
-  def mv_account(from, to)
-    from_path = self.get_account_path(from)
-    to_path = self.get_account_path(to)
+  def mv_user(from, to)
+    from_path = self.get_user_path(from)
+    to_path = self.get_user_path(to)
     FileUtils.mv(from_path, to_path)
   end