diff options
author | Busfreak <Busfreak@users.noreply.github.com> | 2015-12-23 00:18:32 +0100 |
---|---|---|
committer | Busfreak <Busfreak@users.noreply.github.com> | 2015-12-23 00:18:32 +0100 |
commit | 050d69091822641dabd0ded1b6023b7ef9f90311 (patch) | |
tree | 7a6698152aafc9f1eece503f5fa4d4a772782fcd /app/Api | |
parent | be2fde7cc01228ad4526e05d77a3d4865e550357 (diff) | |
parent | 8ff2032ea3fa49972fe076166c831719131e829d (diff) |
Merge pull request #1 from fguillot/master
please merge
Diffstat (limited to 'app/Api')
-rw-r--r-- | app/Api/Comment.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Api/Comment.php b/app/Api/Comment.php index 26b632e9..4c4027c0 100644 --- a/app/Api/Comment.php +++ b/app/Api/Comment.php @@ -25,12 +25,13 @@ class Comment extends \Kanboard\Core\Base return $this->comment->remove($comment_id); } - public function createComment($task_id, $user_id, $content) + public function createComment($task_id, $user_id, $content, $reference = '') { $values = array( 'task_id' => $task_id, 'user_id' => $user_id, 'comment' => $content, + 'reference' => $reference, ); list($valid, ) = $this->comment->validateCreation($values); |