MongoServerDao: Always clear quicksave data
quicksave data wouldn't always be cleared on save, meaning it might not be cleared until the next _empty_ quicksave from the client. * src/server/db/MongoServerDao.js (saveQuote): Always clear quicksave.master
parent
f83dfd0027
commit
460a533777
|
@ -311,12 +311,10 @@ module.exports = Class( 'MongoServerDao' )
|
|||
// full save will include all metadata
|
||||
save_data.meta = quote.getMetabucket().getData();
|
||||
}
|
||||
else if ( save_data.data !== undefined )
|
||||
{
|
||||
// when we update the quote data, clear quick save data (this data
|
||||
// should take precedence)
|
||||
save_data.quicksave = {};
|
||||
}
|
||||
|
||||
// when we update the quote data, clear quick save data (this data
|
||||
// should take precedence)
|
||||
save_data.quicksave = {};
|
||||
|
||||
var id = quote.getId();
|
||||
|
||||
|
|
Loading…
Reference in New Issue