Permalink
Browse files

Remove gda4 conditional. Refs gh-135

  • Loading branch information...
1 parent 8f21d32 commit 5d2dbfb968ccfb28338e7b73297beae2402a363e @piotras committed Mar 7, 2012
Showing with 1 addition and 11 deletions.
  1. +1 −11 src/midgard_user.c
View
@@ -685,18 +685,8 @@ __midgard_user_delete (MidgardUser *self)
g_debug ("%s", del_query->str);
GError *error = NULL;
- GdaConnection *connection = mgd->priv->connection;
-
-#ifdef HAVE_LIBGDA_4
-
+ GdaConnection *connection = mgd->priv->connection;
gda_execute_non_select_command (connection, del_query->str, &error);
-
-#else
- GdaCommand *command = gda_command_new (del_query->str, GDA_COMMAND_TYPE_SQL, GDA_COMMAND_OPTION_STOP_ON_ERRORS);
- gda_connection_execute_non_select_command (connection, command, NULL, &error);
- gda_command_free (command);
-
-#endif /* HAVE_LIBGDA_4 */
g_string_free (del_query, TRUE);

0 comments on commit 5d2dbfb

Please sign in to comment.