1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-27 06:47:45 +00:00

Skip input on liquidate

This commit is contained in:
mordred 2018-12-12 12:36:06 +01:00
parent e69d112d5f
commit 1123c097bb
2 changed files with 3 additions and 3 deletions

View file

@ -256,14 +256,14 @@ bool DbManager::modeLiquidate()
return false;
char type = '\0';
if( !m_force )
/* if( !m_force )
while( promptForChar( "This action will drop all tables in the database. Are you sure? [y/n]", type ) )
{
if( type == 'y' )
break;
if( type == 'n' )
return true;
}
}*/
std::string query = "SELECT TABLE_NAME "
"FROM information_schema.tables "

View file

@ -47,7 +47,7 @@ class DbManager
void setSchemaFile( const std::string& schemaFile );
void setInsertFile( const std::string& insertFile );
void setForceMode( bool );
void setForceMode( bool mode );
private:
std::string m_host;