diff options
author | Max Kellermann <max@duempel.org> | 2014-02-19 23:17:21 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-19 23:17:21 +0100 |
commit | 85b8675e7a11a81bda4b4328e19e433768048911 (patch) | |
tree | fa69fa3360f8790331ddf874608d6411aecc14d4 /src/db/DatabaseGlue.cxx | |
parent | ae594ad92c1a6dc4aee3e83fa4ab94075b0170c1 (diff) | |
download | mpd-85b8675e7a11a81bda4b4328e19e433768048911.tar.gz mpd-85b8675e7a11a81bda4b4328e19e433768048911.tar.xz mpd-85b8675e7a11a81bda4b4328e19e433768048911.zip |
db/Interface: add attribute "plugin"
The new method IsPlugin() replaces the "is_simple" flag.
Diffstat (limited to 'src/db/DatabaseGlue.cxx')
-rw-r--r-- | src/db/DatabaseGlue.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/db/DatabaseGlue.cxx b/src/db/DatabaseGlue.cxx index 30c244334..ade5c95f3 100644 --- a/src/db/DatabaseGlue.cxx +++ b/src/db/DatabaseGlue.cxx @@ -29,11 +29,10 @@ Database * DatabaseGlobalInit(EventLoop &loop, DatabaseListener &listener, - const config_param ¶m, bool &is_simple, Error &error) + const config_param ¶m, Error &error) { const char *plugin_name = param.GetBlockValue("plugin", "simple"); - is_simple = strcmp(plugin_name, "simple") == 0; const DatabasePlugin *plugin = GetDatabasePluginByName(plugin_name); if (plugin == nullptr) { |