]> gitweb.michael.orlitzky.com - mailshears.git/blobdiff - lib/rm/plugins/roundcube.rb
Overhaul everything to get consistent error reports.
[mailshears.git] / lib / rm / plugins / roundcube.rb
index 23782d20a575471820aa279f7ce47b346e68f2e2..a315e77f49b2ec0c9b17c09d228ee55db8fa8459 100644 (file)
@@ -11,7 +11,7 @@ class RoundcubeRm
   def delete_user(user)
     # Delete the given username and any records in other tables
     # belonging to it.
-    raise NonexistentUserError.new(user) if not user_exists(user)
+    raise NonexistentUserError.new(user.to_s()) if not user_exists(user)
 
     user_id = self.get_user_id(user)