diff --git a/config/commands.js b/config/commands.js
index 76ba611..5e801fd 100644
--- a/config/commands.js
+++ b/config/commands.js
@@ -845,6 +845,19 @@ module.exports = {
keyless: false,
readOnly: true
},
+ unlink: {
+ group: function(resp) {
+ var total = 0;
+ for (var i = 0; i < resp.length; i++) {
+ total += (resp[i] || 0);
+ }
+ return total;
+ },
+ multiKey: true,
+ interval: 1,
+ keyless: false,
+ readOnly: false
+ },
unsubscribe: {
multiKey: false,
interval: 0,
diff --git a/config/commandsConfig.js b/config/commandsConfig.js
index d857369..986f09a 100644
--- a/config/commandsConfig.js
+++ b/config/commandsConfig.js
@@ -22,5 +22,14 @@ module.exports = {
}
return total;
}
+ },
+ unlink: {
+ group: function(resp) {
+ var total = 0;
+ for (var i = 0; i < resp.length; i++) {
+ total += (resp[i] || 0);
+ }
+ return total;
+ }
}
};