]> gitweb.michael.orlitzky.com - mailshears.git/blobdiff - lib/rm/plugins/roundcube.rb
mailshears.gemspec: bump version to 0.1.0
[mailshears.git] / lib / rm / plugins / roundcube.rb
index cb55af7dfb2394b166c2be856f512ab7cdbf7712..56c3108c354cf79d0b5017e025d8e7c64fb75a5a 100644 (file)
@@ -32,7 +32,7 @@ class RoundcubeRm
     connection = PG::Connection.new(@db_hash)
 
     begin
-      connection.query(sql_query, [user_id])
+      connection.sync_exec_params(sql_query, [user_id])
     ensure
       # Make sure the connection gets closed even if the query explodes.
       connection.close()