// Site-specific settings
//

'use strict';

const Promise = require('bluebird');


module.exports = Promise.coroutine(function* (N) {
  let store = N.settings.getStore('global');

  if (!store) throw 'Settings store `global` is not registered.';

  //
  // Set abuse report section
  //
  if (N.config.vbconvert.abuse_report_section) {
    let section = yield N.models.forum.Section.findOne()
                            .where('hid', N.config.vbconvert.abuse_report_section)
                            .lean(true);

    yield store.set({ general_abuse_report_section: { value: section._id.toString() } });
  }
});

@@ -605,13 +605,114 @@
  %7D);%0A  %7D
+%0A%0A  // disable headings in forum posts%0A  yield store.set(%7B forum_markup_heading: %7B value: false %7D %7D);
 %0A%7D);%0A

Disable headings in forum posts