]> gitweb.michael.orlitzky.com - mailshears.git/blobdiff - lib/mv/plugins/davical.rb
Update a comment and delete a newline.
[mailshears.git] / lib / mv / plugins / davical.rb
index ee47d3039fd9feb71235000ff0f93e4f6dfe69ff..a7cfe80c5337ae3d87f99fd26f3c72bb350239aa 100644 (file)
@@ -17,8 +17,8 @@ class DavicalMv
   end
 
 
   end
 
 
-  def mv_account(from, to)
-    # Delete the given username. DAViCal uses foreign keys properly
+  def mv_user(from, to)
+    # Switch the given usernames. DAViCal uses foreign keys properly
     # and only supports postgres, so we let the ON UPDATE CASCADE
     # trigger handle most of the work.
     sql_queries = ['UPDATE usr SET username = $1 WHERE username = $2']
     # and only supports postgres, so we let the ON UPDATE CASCADE
     # trigger handle most of the work.
     sql_queries = ['UPDATE usr SET username = $1 WHERE username = $2']