mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
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
1 changed files with 0 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue