Removed default debug log from base model when emittingg events
no issue - we should only log the event if the model was changed
This commit is contained in:
parent
4fb783d4a3
commit
aa96334379
@ -173,8 +173,6 @@ ghostBookshelf.Model = ghostBookshelf.Model.extend({
|
||||
* If the query runs in a txn, `_previousAttributes` will be empty.
|
||||
*/
|
||||
emitChange: function (model, event, options) {
|
||||
debug(model.tableName, event);
|
||||
|
||||
const _emit = (ghostEvent, model) => {
|
||||
if (!model.wasChanged()) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user