]> gitweb.michael.orlitzky.com - mailshears.git/blobdiff - lib/mv/mv_dummy_runner.rb
Disable domain moves in the dummy MvRunner.
[mailshears.git] / lib / mv / mv_dummy_runner.rb
index 0e3beeed4c73ad30545258e34a4ed79da29ab5ca..11f2ff5c7cf94befb458b6f99433df4f7a056938 100644 (file)
@@ -1,11 +1,13 @@
+require 'common/runner'
+
 class MvDummyRunner
   include Runner
 
   def run(plugin, src, dst)
     if src.include?('@') then
-      puts "Would move account: #{src} to #{dst}"
+      puts "Would move user: #{src} to #{dst}"
     else
-      puts "Would move domain: #{src} to #{dst}"
+      raise NotImplementedError.new('Only users can be moved.')
     end
   end