diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2013-11-03 19:39:25 +0100 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2013-11-03 19:39:25 +0100 |
commit | fd71c5952690f419b919eb3bc5facc9d332a98b9 (patch) | |
tree | 307bf5b9f314eef67af22f1275774a51cef979f3 /plugins.c | |
parent | 553d1c27fec6e5ef1743f97e2e7c612ec8678ab8 (diff) |
changed action API to be backwards compatible with 0.5 on source level
Diffstat (limited to 'plugins.c')
-rw-r--r-- | plugins.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -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; |