wiki/server/core/db.js
/**
   * Publish event via database NOTIFY
   *
   * @param {string} event Event fired
   * @param {object} value Payload of the event
   */
Publish event via database NOTIFY
@param {string} event Event fired
@param {object} value Payload of the event
Publish event via database NOTIFY @param { string } event Event fired @param { object } value Payload of the event
notifyViaDB (event, value) {
    WIKI.models.listener.publish('wiki', {
      source: WIKI.INSTANCE_ID,
      event,
      value
    })
  }
notifyViaDB ( event , value ) { WIKI . models . listener . publish ( 'wiki' , { source : WIKI . INSTANCE_ID , event , value } ) }
Publish event via database NOTIFY
 @param {string} event Event fired
 @param {object} value Payload of the event
Publish event via database NOTIFY @param { string } event Event fired @param { object } value Payload of the event