From 1921912fc12d2d6df550b1ffd183674b99ca86f4 Mon Sep 17 00:00:00 2001 From: aleos Date: Fri, 29 May 2020 16:39:41 -0400 Subject: [PATCH] Remove warning * Remove a warning if modes don't match. --- src/common/sql.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/common/sql.cpp b/src/common/sql.cpp index 464769a4f9..bcae3fdc86 100644 --- a/src/common/sql.cpp +++ b/src/common/sql.cpp @@ -1080,10 +1080,8 @@ void Sql_UpgradesChecker(Sql *sql_handle, e_sql_database schema) { std::string mode = "Prerenewal"; #endif - if (compiledMode != update->mode) { - ShowError("Sql_UpgradesChecker: The server's current mode of '%s' differs from the mode '%s' provided by the update. Skipping.\n", mode.c_str(), update->mode == MODE_RENEWAL ? "Renewal" : "Prerenewal"); + if (compiledMode != update->mode) // Only apply if mode is a match continue; - } } if (!(update->database & schema)) // Only apply to the specific schema