X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcore.h;h=6d743e89366d3f13e24d801fc19fce96618341d7;hp=2c1fa07d87ab33d1ce2bd18a50c9ea1743efd5b6;hb=029c6d402af7b00b320dd5ce48f230783a88957a;hpb=7082ea3159aaaea098b34c204d5123a3dca3753a diff --git a/src/core/core.h b/src/core/core.h index 2c1fa07d..6d743e89 100644 --- a/src/core/core.h +++ b/src/core/core.h @@ -134,17 +134,6 @@ class Core : public QObject { return instance()->_storage->networks(user); } - //! Get the NetworkId for a network name. - /** \note This method is threadsafe. - * - * \param user The core user - * \param network The name of the network - * \return The NetworkId corresponding to the given network. - */ - static inline NetworkId networkId(UserId user, const QString &network) { - return instance()->_storage->getNetworkId(user, network); - } - //! Get a list of Networks to restore /** Return a list of networks the user was connected at the time of core shutdown * \note This method is threadsafe.