2
0
mirror of https://github.com/frappe/books.git synced 2024-09-20 11:29:00 +00:00

Revert "Register models in frappe.init"

This reverts commit 8a9ece2d2b.
This commit is contained in:
Faris Ansari 2018-06-04 15:32:38 +05:30
parent 8a9ece2d2b
commit cb8a26fe4c

View File

@ -1,13 +1,9 @@
const common = require('./common');
const models = require('./models');
module.exports = {
async init() {
if (this._initialized) return;
this.initConfig();
this.initGlobals();
this.registerLibs(common);
this.registerModels(models);
this._initialized = true;
},