nav - enable / disable

This commit is contained in:
psychobunny
2015-02-25 15:16:51 -05:00
parent 1ae0a8a1bf
commit a2e3179ea4
5 changed files with 24 additions and 9 deletions

View File

@@ -10,9 +10,6 @@ navigation.get = function(callback) {
db.getSortedSetRange('navigation:enabled', 0, -1, function(err, data) {
callback(err, data.map(function(item) {
return JSON.parse(item);
})
.filter(function(item) {
return item.enabled;
}));
});
};