diff --git a/src/server/database/Database/DatabaseWorkerPool.h b/src/server/database/Database/DatabaseWorkerPool.h index b195d2d6a28..6e5f25ff297 100644 --- a/src/server/database/Database/DatabaseWorkerPool.h +++ b/src/server/database/Database/DatabaseWorkerPool.h @@ -195,14 +195,6 @@ class DatabaseWorkerPool //! The return value is then processed in ProcessQueryCallback methods. QueryCallback AsyncQuery(const char* sql); - //! Enqueues a query in string format -with variable args- that will set the value of the QueryResultFuture return object as soon as the query is executed. - //! The return value is then processed in ProcessQueryCallback methods. - template - QueryCallback AsyncPQuery(Format&& sql, Args&&... args) - { - return AsyncQuery(Trinity::StringFormat(std::forward(sql), std::forward(args)...).c_str()); - } - //! Enqueues a query in prepared format that will set the value of the PreparedQueryResultFuture return object as soon as the query is executed. //! The return value is then processed in ProcessQueryCallback methods. //! Statement must be prepared with CONNECTION_ASYNC flag.