Minor code improvements
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user