diff options
Diffstat (limited to 'server/modules/metadata')
-rw-r--r-- | server/modules/metadata/flat_files/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/modules/metadata/flat_files/main.cpp b/server/modules/metadata/flat_files/main.cpp index 7fd197c..fb52812 100644 --- a/server/modules/metadata/flat_files/main.cpp +++ b/server/modules/metadata/flat_files/main.cpp @@ -27,7 +27,7 @@ void storage_impl::on_modules_loaded() { - settings = api->get_module_settings(this); + //settings = api->get_module_settings(this); //you can get module settings here, by default settings loaded automatically after this function call } @@ -40,6 +40,7 @@ void storage_impl::load(core_api *a) info.version = "0.0.0.1draft"; info.default_settings["data_path"] = "~/.local/share/udm/metadata"; info.on_modules_loaded = boost::bind(&storage_impl::on_modules_loaded, this); + info.set_module_settings = boost::bind(&storage_impl::set_module_settings, this); std::cout<<"flat_files metadata module succesfully loaded\n"; } |