Skip to content

Commit

Permalink
Update acl.js
Browse files Browse the repository at this point in the history
remove deprecated bluebird defer to avoid warnings
  • Loading branch information
xelaz committed Dec 24, 2015
1 parent 7b18da7 commit b895a7f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/acl.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ var Acl = function (backend, logger, options){
@return {Promise} Promise resolved when finished
*/
Acl.prototype.addUserRoles = function(userId, roles, cb){
var promise = bluebird.defer();

contract(arguments)
.params('string|number','string|array','function')
.params('string|number','string|array')
Expand Down

0 comments on commit b895a7f

Please sign in to comment.