X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=lib%2Fmv%2Fplugins%2Fdavical.rb;h=a7cfe80c5337ae3d87f99fd26f3c72bb350239aa;hp=ee47d3039fd9feb71235000ff0f93e4f6dfe69ff;hb=8a3e804a4c5f33bee1d80243be6b139e45f07a48;hpb=e3826d8926e11763837a591986d453e9ef5d9dec;ds=sidebyside diff --git a/lib/mv/plugins/davical.rb b/lib/mv/plugins/davical.rb index ee47d30..a7cfe80 100644 --- a/lib/mv/plugins/davical.rb +++ b/lib/mv/plugins/davical.rb @@ -17,8 +17,8 @@ class DavicalMv 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']