Remove warning

* Remove a warning if modes don't match.
This commit is contained in:
aleos 2020-05-29 16:39:41 -04:00
parent 74cbb835b6
commit 1921912fc1

View File

@ -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