2016-05-07 08:58:46 +02:00
|
|
|
HangingProtocols = new Meteor.Collection('hangingprotocols');
|
2016-08-15 15:34:36 +02:00
|
|
|
HangingProtocols._debugName = 'HangingProtocols';
|
2016-05-07 08:58:46 +02:00
|
|
|
|
|
|
|
|
HangingProtocols.allow({
|
|
|
|
|
insert: function() {
|
|
|
|
|
return true;
|
|
|
|
|
},
|
|
|
|
|
update: function() {
|
|
|
|
|
return true;
|
2017-01-04 23:49:31 +01:00
|
|
|
},
|
|
|
|
|
remove: function() {
|
|
|
|
|
return true;
|
2016-05-07 08:58:46 +02:00
|
|
|
}
|
|
|
|
|
});
|
2017-02-22 15:58:49 +01:00
|
|
|
|
|
|
|
|
// @TODO: Remove this after stabilizing ProtocolEngine
|
|
|
|
|
if (Meteor.isDevelopment && Meteor.isServer) {
|
|
|
|
|
Meteor.startup(() => {
|
|
|
|
|
HangingProtocols.remove({});
|
|
|
|
|
});
|
|
|
|
|
}
|