From 6be35cd4e77efd722f3f1629c956e0938783d182 Mon Sep 17 00:00:00 2001 From: Zwelf Date: Fri, 3 Jul 2020 20:13:51 +0200 Subject: [PATCH] Remove unused function --- src/engine/server/sql_string_helpers.cpp | 9 --------- src/engine/server/sql_string_helpers.h | 3 --- 2 files changed, 12 deletions(-) diff --git a/src/engine/server/sql_string_helpers.cpp b/src/engine/server/sql_string_helpers.cpp index e0b123538..44b7d8a1e 100644 --- a/src/engine/server/sql_string_helpers.cpp +++ b/src/engine/server/sql_string_helpers.cpp @@ -1,6 +1,5 @@ #include #include -#include #include #include "sql_string_helpers.h" @@ -136,11 +135,3 @@ void sqlstr::AgoTimeToString(int AgoTime, char *pAgoString) } } } - -void sqlstr::GetTimeStamp(char *pDest, unsigned int Size) -{ - std::time_t Rawtime; - std::time(&Rawtime); - - str_timestamp_ex(Rawtime, pDest, Size, FORMAT_SPACE); -} diff --git a/src/engine/server/sql_string_helpers.h b/src/engine/server/sql_string_helpers.h index 549ea51a1..c20408e4b 100644 --- a/src/engine/server/sql_string_helpers.h +++ b/src/engine/server/sql_string_helpers.h @@ -13,9 +13,6 @@ void ClearString(char *pString, int size = 32); void AgoTimeToString(int agoTime, char *pAgoString); -void GetTimeStamp(char *pDest, unsigned int Size); - - template class CSqlString {