X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fsqlauthenticator.cpp;h=e7f057b7bc55719eb5ca5bc2b6c118848f3439ad;hp=52f0ac640f0cd1985737a7f793e13e1620560ff5;hb=4b0caf61565c8791efba283bbcaf73530b9feafc;hpb=d6f3eedebc7f9619b04dffc5f48faa792950fdcd diff --git a/src/core/sqlauthenticator.cpp b/src/core/sqlauthenticator.cpp index 52f0ac64..e7f057b7 100644 --- a/src/core/sqlauthenticator.cpp +++ b/src/core/sqlauthenticator.cpp @@ -38,11 +38,11 @@ SqlAuthenticator::~SqlAuthenticator() bool SqlAuthenticator::isAvailable() const { - // XXX: probably this should query the current storage (see the ::init routine too). + // FIXME: probably this should query the current storage (see the ::init routine too). return true; } -QString SqlAuthenticator::displayName() const +QString SqlAuthenticator::backendId() const { // We identify the backend to use for the monolithic core by its displayname. // so only change this string if you _really_ have to and make sure the core @@ -63,14 +63,17 @@ UserId SqlAuthenticator::validateUser(const QString &user, const QString &passwo bool SqlAuthenticator::setup(const QVariantMap &settings) { + Q_UNUSED(settings) return true; } Authenticator::State SqlAuthenticator::init(const QVariantMap &settings) { + Q_UNUSED(settings) + // TODO: FIXME: this should check if the storage provider is ready, but I don't // know if there's an exposed way to do that at the moment. - quInfo() << qPrintable(displayName()) << "Authenticator is ready."; + quInfo() << qPrintable(backendId()) << "Authenticator is ready."; return IsReady; }