diff --git a/lib/sails.sockets/join-room.js b/lib/sails.sockets/join-room.js index 8f8903b..78469e7 100644 --- a/lib/sails.sockets/join-room.js +++ b/lib/sails.sockets/join-room.js @@ -50,9 +50,6 @@ module.exports = function(app) { // Call the callback once all sockets have joined cb(); - // The value returned from this function is currently used by the Sails PubSub hook. - // FUTURE: When https://github.com/balderdashy/sails/pull/7311/files is merged, this return value can be removed. - return true; }; }; diff --git a/lib/sails.sockets/leave-room.js b/lib/sails.sockets/leave-room.js index f95aa6e..436ada5 100644 --- a/lib/sails.sockets/leave-room.js +++ b/lib/sails.sockets/leave-room.js @@ -49,8 +49,5 @@ module.exports = function(app) { // Call the callback once all sockets have left cb(); - // The value returned from this function is currently used by the Sails PubSub hook. - // FUTURE: When https://github.com/balderdashy/sails/pull/7311/files is merged, this return value can be removed. - return true; }; };