PicoDb update

This commit is contained in:
Frederic Guillot
2015-06-27 00:00:43 -04:00
parent 7a22f4c6d4
commit 1823430d13
18 changed files with 28 additions and 28 deletions

View File

@@ -349,6 +349,6 @@ class TaskFinder extends Base
*/
public function exists($task_id)
{
return $this->db->table(Task::TABLE)->eq('id', $task_id)->count() === 1;
return $this->db->table(Task::TABLE)->eq('id', $task_id)->exists();
}
}