PWV-2: Added missing dependencies for Worklist package and prevents removal of server config collections...
This commit is contained in:
1 parent
ed86c14807
commit
337525c27d
2 files changed
+4
-1
No files matched your search
@@ -52,7 +52,9 @@ Meteor.startup(function() {
|
||||
for (var property in global) {
|
||||
var object = global[property];
|
||||
if (object instanceof Meteor.Collection) {
|
||||
object.remove({});
|
||||
if (!(/^server|currentServer$/).test(object._name)) {
|
||||
object.remove({});
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user