]> gitweb.michael.orlitzky.com - mailshears.git/blobdiff - lib/mv/plugins/davical.rb
mailshears.gemspec: update the version to 0.0.5.
[mailshears.git] / lib / mv / plugins / davical.rb
index e7aa050889384234bc8802b924e58038290084c6..1a8a18aa70e8d27cef54ad867a230890587e6932 100644 (file)
@@ -33,7 +33,7 @@ class DavicalMv
 
     connection = PG::Connection.new(@db_hash)
     begin
-      connection.query(sql_query, [dst.to_s(), src.to_s()])
+      connection.sync_exec_params(sql_query, [dst.to_s(), src.to_s()])
     ensure
       # Make sure the connection gets closed even if the query explodes.
       connection.close()