X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=lib%2Frm%2Fplugins%2Froundcube.rb;h=a315e77f49b2ec0c9b17c09d228ee55db8fa8459;hp=3dbee8ea61b948033f6ffd8df94ba86d31535e24;hb=650e23790019880da91c7c7248a214a13763fd3e;hpb=7f8654ed6582062a295e1be75ae70e99de41b323 diff --git a/lib/rm/plugins/roundcube.rb b/lib/rm/plugins/roundcube.rb index 3dbee8e..a315e77 100644 --- a/lib/rm/plugins/roundcube.rb +++ b/lib/rm/plugins/roundcube.rb @@ -8,12 +8,12 @@ class RoundcubeRm include RoundcubePlugin include RmPlugin - def delete_account(account) + def delete_user(user) # Delete the given username and any records in other tables # belonging to it. - raise NonexistentAccountError.new(account) if not user_exists(account) + raise NonexistentUserError.new(user.to_s()) if not user_exists(user) - user_id = self.get_user_id(account) + user_id = self.get_user_id(user) # The Roundcube developers were nice enough to include # DBMS-specific install and upgrade scripts, so Postgres can take