chore(client): Remove unused clearCompleted user.ops function

This commit is contained in:
Blade Barringer
2016-06-18 12:21:09 -05:00
parent 1a19605ee6
commit 813aa2cf38
5 changed files with 0 additions and 57 deletions
-10
View File
@@ -1,10 +0,0 @@
import _ from 'lodash';
// TODO move to client since it's only used there?
// TODO rename file to clearCompletedTodos
module.exports = function clearCompletedTodos (todos) {
_.remove(todos, todo => {
return todo.completed && (!todo.challenge || !todo.challenge.id || todo.challenge.broken);
});
};
-2
View File
@@ -5,7 +5,6 @@ import reset from './reset';
import reroll from './reroll';
import rebirth from './rebirth';
import allocateNow from './allocateNow';
import clearCompleted from './clearCompleted';
import sortTask from './sortTask';
import updateTask from './updateTask';
import deleteTask from './deleteTask';
@@ -56,7 +55,6 @@ module.exports = {
reroll,
rebirth,
allocateNow,
clearCompleted,
sortTask,
updateTask,
deleteTask,