From cb8a26fe4cc858b36a7d15f4ad934d072ba5c59a Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Mon, 4 Jun 2018 15:32:38 +0530 Subject: [PATCH] Revert "Register models in frappe.init" This reverts commit 8a9ece2d2b2ce72677a873cb129dd581229d4dbc. --- index.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/index.js b/index.js index b1683a0a..fea81439 100644 --- a/index.js +++ b/index.js @@ -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; },