不要怂,就是干,撸起袖子干!

Commit b8e3ed59 by Mick Hansen

Remove deprecation notice for .on() since its used for promise BC

1 parent 1ea438bf
Showing with 0 additions and 2 deletions
...@@ -117,8 +117,6 @@ SequelizePromise.all = function (promises) { ...@@ -117,8 +117,6 @@ SequelizePromise.all = function (promises) {
* @deprecated * @deprecated
*/ */
Promise.prototype.on = function(evt, fct) { Promise.prototype.on = function(evt, fct) {
deprecated('on() is deprecated and will be removed in 2.1, please use promise-style instead or use logging: fn in method options for method sql log');
if (evt === 'success') { if (evt === 'success') {
this.then(fct); this.then(fct);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!