summaryrefslogtreecommitdiff
path: root/plugins.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-11-03 19:39:25 +0100
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-11-03 19:39:25 +0100
commitfd71c5952690f419b919eb3bc5facc9d332a98b9 (patch)
tree307bf5b9f314eef67af22f1275774a51cef979f3 /plugins.c
parent553d1c27fec6e5ef1743f97e2e7c612ec8678ab8 (diff)
changed action API to be backwards compatible with 0.5 on source level
Diffstat (limited to 'plugins.c')
-rw-r--r--plugins.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/plugins.c b/plugins.c
index dcc02df5..b906b7c6 100644
--- a/plugins.c
+++ b/plugins.c
@@ -530,17 +530,6 @@ plug_init_plugin (DB_plugin_t* (*loadfunc)(DB_functions_t *), void *handle) {
}
#endif
- // deprecated 1.4 DB_plugin_action_t hack
- // this allows to check if the action is coming from pre-1.5 plugin without
- // having a plugin pointer
- if (plugin_api->get_actions && plugin_api->api_vmajor == 1 && plugin_api->api_vminor <= 4) {
- DB_plugin_action_t *actions = plugin_api->get_actions (NULL);
- while (actions) {
- actions->flags |= DB_ACTION_USING_API_14;
- actions = actions->next;
- }
- }
-
plugin_t *plug = malloc (sizeof (plugin_t));
memset (plug, 0, sizeof (plugin_t));
plug->plugin = plugin_api;