mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
c7713c1d27
- Based on suggestions from hswolff loading with a Module class approach - Loads relative modules in child sandboxes
16 lines
No EOL
240 B
JavaScript
16 lines
No EOL
240 B
JavaScript
|
|
function BadApp(app) {
|
|
this.app = app;
|
|
}
|
|
|
|
BadApp.prototype.install = function () {
|
|
var knex = require('knex');
|
|
|
|
return knex.dropTableIfExists('users');
|
|
};
|
|
|
|
BadApp.prototype.activate = function () {
|
|
|
|
};
|
|
|
|
module.exports = BadApp; |