8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 12:43:03 +01:00
This commit is contained in:
hvlad 2010-10-21 11:46:15 +00:00
parent d5833b72f0
commit daaaa9609c

View File

@ -65,10 +65,11 @@ SSHORT SECURITY_exec_line(ISC_STATUS* isc_status,
// temporary measure before PluginManager integration
PathName plugFile(fb_utils::getPrefix(fb_utils::FB_DIR_PLUGINS, "user_management"));
ModuleLoader::doctorModuleExtension(plugFile);
ModuleLoader::loadModule(plugFile);
plugin = reinterpret_cast<Auth::ManagementPlugin*>(
fb_query_plugin(Plugin::UserManagement, NULL));
if (ModuleLoader::loadModule(plugFile))
{
plugin = reinterpret_cast<Auth::ManagementPlugin*>(
fb_query_plugin(Plugin::UserManagement, NULL));
}
}
if (!plugin)