Minor code improvements

This commit is contained in:
Frédéric Guillot
2014-05-23 10:14:25 -04:00
parent 7b53d47d46
commit db76bcb593
7 changed files with 12 additions and 17 deletions

View File

@@ -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();