summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorAndrés Manelli <andresmanelli@gmail.com>2018-08-11 01:00:21 +0200
committerAndrés Manelli <andresmanelli@gmail.com>2018-08-11 01:00:21 +0200
commit17308dc5f306e9b357045e97e0a1abe963dcb5d4 (patch)
tree3e7c9a4379d48da68ccf6e527525c2b67c1f85ba /models
parent67301e07e277f715de1b9d909e53f0875140e4af (diff)
downloadwekan-17308dc5f306e9b357045e97e0a1abe963dcb5d4.tar.gz
wekan-17308dc5f306e9b357045e97e0a1abe963dcb5d4.tar.bz2
wekan-17308dc5f306e9b357045e97e0a1abe963dcb5d4.zip
Fix lint errors
Diffstat (limited to 'models')
-rw-r--r--models/boards.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/models/boards.js b/models/boards.js
index 11df0bb5..a017eb3f 100644
--- a/models/boards.js
+++ b/models/boards.js
@@ -246,10 +246,6 @@ Boards.helpers({
return Swimlanes.find({ boardId: this._id, archived: false }, { sort: { sort: 1 } });
},
- cards() {
- return Cards.find({ boardId: this._id, archived: false }, { sort: { sort: 1 } });
- },
-
hasOvertimeCards(){
const card = Cards.findOne({isOvertime: true, boardId: this._id, archived: false} );
return card !== undefined;