pgte/alfred — comment on commit cdc2529b3204b3361ff7b4eef8f70efd0fd746fb
File:  line 0
By xasima:

Please change in alfred/meta/model.js lines 158 - 171
from

```javascript
Model.prototype._delete = function(id, callback) {
this.collection.destroy(id, function(err) {
if (err) { self._error(err); return; }
callback();
});
};

Model.prototype.delete = function(id, callback) {
var self = this;
this.promises.done(function() {
self.delete(id, callback);
});
};
```
to

```javascript
Model.prototype._delete = function(id, callback) {
this.collection.destroy(id, function(err) {
if (err) { self._error(err); return; }
callback();
});
};

Model.prototype.delete = function(id, callback) {
var self = this;
this.promises.done(function() {
self._delete(id, callback);
});
};
```
Underscore for _delete should be added at 168-169 line.