X-Git-Url: http://gitweb.michael.orlitzky.com/?p=mailshears.git;a=blobdiff_plain;f=lib%2Frm%2Fplugins%2Froundcube_db.rb;h=5cda273643029ef808c9b184621017779f92806e;hp=5687ce436ea76cca659f66cd00b6825499ae43b1;hb=bd2dabf89ab277fbe315b05e6dfa839afb5ce5ef;hpb=483d14dc8228a81d12fb109d3ed6510e2d2b03c1 diff --git a/lib/rm/plugins/roundcube_db.rb b/lib/rm/plugins/roundcube_db.rb index 5687ce4..5cda273 100644 --- a/lib/rm/plugins/roundcube_db.rb +++ b/lib/rm/plugins/roundcube_db.rb @@ -11,6 +11,8 @@ class RoundcubeDbRm def delete_account(account) # Delete the given username and any records in other tables # belonging to it. + raise NonexistentAccountError.new(account) if not user_exists(account) + user_id = self.get_user_id(account) # The Roundcube developers were nice enough to include