core: Remove leftover getAuthUserName and SQL
authorShane Synan <digitalcircuit36939@gmail.com>
Wed, 22 Aug 2018 01:51:40 +0000 (20:51 -0500)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 23 Aug 2018 00:21:31 +0000 (02:21 +0200)
commit767e5f04ab1aff5ea98e9d3bf67d8f22043bf90c
tree0d0c9e991c070d59eb20c613e02c983579d790b9
parentc17297c5f5bcec99c59f731fd879055a04f1edb8
core: Remove leftover getAuthUserName and SQL

Remove Storage::getAuthUserName(), including PostgreSQL and SQLite.
Remove the corresponding select_authusername.sql files, too.

This avoids unused code and may avoid confusion in the future.  Any
time a username-for-ID is needed, Core::_authUserNames should be
consulted instead.

NOTE: Before using Core::_authUserNames, public functions should be
created and caching should always be done on core startup, instead of
only when --strict-ident mode is enabled.
src/core/SQL/PostgreSQL/select_authusername.sql [deleted file]
src/core/SQL/SQLite/select_authusername.sql [deleted file]
src/core/core.h
src/core/postgresqlstorage.cpp
src/core/postgresqlstorage.h
src/core/sql.qrc
src/core/sqlitestorage.cpp
src/core/sqlitestorage.h
src/core/storage.h