]> gitweb.michael.orlitzky.com - mailshears.git/commitdiff
Disable domain moves in the dummy MvRunner.
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 30 Oct 2015 00:56:50 +0000 (20:56 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 30 Oct 2015 00:56:50 +0000 (20:56 -0400)
lib/mv/mv_dummy_runner.rb

index ff612ffeb175e7bc4b663c0f18214055f5946890..11f2ff5c7cf94befb458b6f99433df4f7a056938 100644 (file)
@@ -7,7 +7,7 @@ class MvDummyRunner
     if src.include?('@') then
       puts "Would move user: #{src} to #{dst}"
     else
     if src.include?('@') then
       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
 
     end
   end