summaryrefslogtreecommitdiff
path: root/app/Model/File.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-05-23 10:14:25 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-05-23 10:14:25 -0400
commitdb76bcb593e34948dab2709bcb7b6c1139a37c72 (patch)
tree99b3ee870b2e6225910799d81f3a6f51b19c13f3 /app/Model/File.php
parent7b53d47d467115a173c642526a7d2474a22f88fb (diff)
Minor code improvements
Diffstat (limited to 'app/Model/File.php')
-rw-r--r--app/Model/File.php2
1 files changed, 1 insertions, 1 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();