summaryrefslogtreecommitdiff
path: root/app/Model
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model')
-rw-r--r--app/Model/File.php2
-rw-r--r--app/Model/Task.php2
2 files changed, 1 insertions, 3 deletions
diff --git a/app/Model/File.php b/app/Model/File.php
index 1e2e1432..b7015acc 100644
--- a/app/Model/File.php
+++ b/app/Model/File.php
@@ -86,7 +86,7 @@ class File extends Base
*/
public function getAll($task_id)
{
- return $listing = $this->db->table(self::TABLE)
+ return $this->db->table(self::TABLE)
->eq('task_id', $task_id)
->asc('name')
->findAll();
diff --git a/app/Model/Task.php b/app/Model/Task.php
index f31594c9..faa33ca9 100644
--- a/app/Model/Task.php
+++ b/app/Model/Task.php
@@ -215,8 +215,6 @@ class Task extends Base
{
$this->db->startTransaction();
- $boardModel = new Board($this->db, $this->event);
-
// Get the original task
$task = $this->getById($task_id);