Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
fix(server): Remove unused loadModels() (#1426)
Browse files Browse the repository at this point in the history
  • Loading branch information
simison authored and lirantal committed Aug 26, 2016
1 parent c96f8c0 commit 23fd205
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions config/lib/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ function seedDB() {
// Initialize Models
mongoose.loadModels(seedDB);

module.exports.loadModels = function loadModels() {
mongoose.loadModels();
};

module.exports.init = function init(callback) {
mongoose.connect(function (db) {
// Initialize express
Expand Down

0 comments on commit 23fd205

Please sign in to comment.