Add ical export for users

This commit is contained in:
Frederic Guillot
2015-05-18 12:56:32 -04:00
parent ac6e7bdfbf
commit 46eafe105f
11 changed files with 231 additions and 11 deletions

View File

@@ -84,6 +84,10 @@ class Project extends Base
*/
public function getByToken($token)
{
if (empty($token)) {
return false;
}
return $this->db->table(self::TABLE)->eq('token', $token)->eq('is_public', 1)->findOne();
}