summaryrefslogtreecommitdiff
path: root/app/Model/Budget.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-06-24 20:39:06 -0400
committerFrederic Guillot <fred@kanboard.net>2015-06-24 20:39:06 -0400
commit6efac784fcc1a2e83bb7b43fc7841448b5975cba (patch)
treea083b3c8b86deca9c4f23bcb15cfafeec86924e8 /app/Model/Budget.php
parent58c96b8c4ec3f326b25e6b55f133fc067345cd57 (diff)
Add timer for subtasks and remove settings for subtask time tracking
Diffstat (limited to 'app/Model/Budget.php')
-rw-r--r--app/Model/Budget.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Model/Budget.php b/app/Model/Budget.php
index d74dd870..76c42ca9 100644
--- a/app/Model/Budget.php
+++ b/app/Model/Budget.php
@@ -75,7 +75,7 @@ class Budget extends Base
->join(Task::TABLE, 'id', 'task_id', Subtask::TABLE)
->join(User::TABLE, 'id', 'user_id')
->eq(Task::TABLE.'.project_id', $project_id)
- ->filter(array($this, 'applyUserRate'));
+ ->callback(array($this, 'applyUserRate'));
}
/**